mxn21 / openjdk-osx-build

Automatically exported from code.google.com/p/openjdk-osx-build
0 stars 0 forks source link

MozSwing does not initialize in OpenJDK 1.7 #36

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download mozswing-2.0beta2.zip from the following link
   http://sourceforge.net/projects/mozswing/
2. In mozswing-demo.sh (last line), add the -d32 option
   exec "${_JAVACMD}" -d32 -cp ${CP} (remaining portion of last line)
3. Run mozswing-demo.sh

What is the expected output? What do you see instead?
A browser window correctly appears in Apple Java 6.
In OpenJDK, error text below followed by a function stack is shown:
    JavaVM WARNING: JAWT_GetAWT must be called after loading a JVM
    Aug 02, 2012 11:37:40 PM org.mozilla.browser.MozillaExecutor$2 run
    SEVERE: error in asynchronus mozilla task
    org.mozilla.xpcom.XPCOMException: The function "initWindow" returned an
    error condition  (0x80070057)
    (function stack follows in Terminal)

What version of the product are you using? On what operating system?
mozswing-2.0beta2. On OS X Snow Leopard.

Please provide any additional information below.
OpenJDK version:
    OpenJDK 1.7 universal-u6 JDK from jdk7u6 branch (jdk7u6-b21)
    http://code.google.com/p/openjdk-osx-build/downloads/detail?name=OpenJDK-OSX-1.7-universal-u6-jdk-jdk7u6-b21-20120728.dmg&can=2&q=

Original issue reported on code.google.com by sshi...@gmail.com on 2 Aug 2012 at 6:55

GoogleCodeExporter commented 8 years ago
This problem is related to OpenJDK 7 itself (and its OSX code) not OpenJDK 7 
package for OSX.
Please issue a bug report at http://bugs.sun.com

Original comment by henri.gomez on 2 Aug 2012 at 7:43