RFR: 7113349 JDK8 port to macosx

Stephen Bannasch stephen.bannasch at deanbrook.org
Tue Mar 27 09:28:13 PDT 2012


At 6:31 PM -0500 3/7/12, Stephen Bannasch wrote:
>At 10:20 PM +0000 3/7/12, Michael McMahon wrote:
>>I've just realised there was a hotspot change in my local forest that I had forgotten about.
>>Hotspot changes are pushed through a different route. So, I'm not sure when exactly this
>>will get fixed. I will file a bug on it right now. But, here is the relevant patch, which you
>>can apply yourself.
>>
>>- Michael,
>>
> >diff -r 0ed0960af27d src/os/bsd/vm/os_bsd.cpp
>>--- a/src/os/bsd/vm/os_bsd.cpp    Thu Feb 23 12:03:08 2012 -0800
>>+++ b/src/os/bsd/vm/os_bsd.cpp    Wed Mar 07 22:14:09 2012 +0000
>>@@ -5811,7 +5811,7 @@
>>     char buf[MAXPATHLEN];
>>     char libmawtpath[MAXPATHLEN];
>>     const char *xawtstr  = "/xawt/libmawt" JNI_LIB_SUFFIX;
> >-    const char *new_xawtstr = "/libawt_xawt" JNI_LIB_SUFFIX;
>>+    const char *new_xawtstr = "/xawt/libawt_xawt" JNI_LIB_SUFFIX;
>>     char *p;
>>
>>     // Get path to libjvm.so
>
>Thanks,
>
>That fixed the problem running SwingSet2.jar

FYI, building jdk8/tl today the problem with SwingSet2 jar is back:

./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(HeadlessGraphicsEnvironment.java:77)
at SwingSet2.main(SwingSet2.java:251)

I normally run these jtreg tests after a build: jdk/test/java/lang/invoke/ -- they all pass.

More info on the build:

.build/macosx-amd64/j2sdk-bundle/1.8.0.jdk/Contents/Home/bin/java -Xinternalversion

OpenJDK 64-Bit Server VM (24.0-b02) for bsd-amd64 JRE (1.8.0-internal-stephen_2012_03_27_11_57-b00), built on Mar 27 2012 12:03:14 by "stephen" with gcc 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.6)




More information about the macosx-port-dev mailing list