building mlvm on Mac OS X 10.6.8 using xcode 3.2.6

Anthony Petrov anthony.petrov at
Mon Mar 5 05:13:53 PST 2012

Hi Stephen,

On 03/04/12 10:49, Stephen Bannasch wrote:
> The only failure I've seen so far is trying to run Swing but that
> probably doesn't have anything to do with the MLVM patches.
> *** testing Swing: running SwingSet2.jar:
> ./build/macosx-amd64/j2sdk-bundle/1.8.0.jdk/Contents/Home/bin/java -jar
> /Developer/Extras/Java/JFC/SwingSet2/SwingSet2.jar
> Exception in thread "main" java.awt.HeadlessException
> at
> sun.java2d.HeadlessGraphicsEnvironment.getDefaultScreenDevice(
> at SwingSet2.main(
> Running SwingSet2.jar works fine on my 10.6.8 system using a build of
> jdk7u-dev from a couple of days ago.

Are you running it on a local console or over an ssh connection?
If you roll back your patch, build a vanilla OpenJDK 8, and run SwingSet 
the same way on the same machine with it, will it throw the exception?

best regards,

More information about the macosx-port-dev mailing list