7u6 mac os x build vs. test_gamma

Andrew Hughes ahughes at redhat.com
Wed Aug 8 12:10:04 UTC 2012


----- Original Message -----
> On 8/08/2012 8:54 PM, Dalibor Topic wrote:
> > $ export
> > ALT_BOOTDIR=/Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home
> > $ time make | tee 7u6b23build.log
> > [snip]
> > Doing vm.make build:
> > All done.
> > cd bsd_amd64_compiler2/product&&  ./test_gamma
> > Error occurred during initialization of VM
> > java.lang.NullPointerException
> > 	at java.util.Hashtable.put(Hashtable.java:432)
> > 	at java.lang.System.initProperties(Native Method)
> > 	at java.lang.System.initializeSystemClass(System.java:1115)
> >
> > Using java runtime at:
> > /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jre
> > make[6]: *** [product] Error 1
> > make[5]: *** [generic_build2] Error 2
> > make[4]: *** [product] Error 2
> > make[3]: *** [all_product_universal] Error 2
> > make[2]: *** [universal_product] Error 2
> > make[1]: *** [hotspot-build] Error 2
> > make: *** [build_product_image] Error 2
> >
> > real	43m59.056s
> > user	16m47.436s
> > sys	2m44.408s
> >
> >
> > ->  It seems like it's using the wrong java runtime to run
> > test_gamma to begin with, right?
> 
> Right. After the hashtable changes the minimum requirement for the
> JDK
> runtime went up.
> 
> David
> 
> 
> > cheers,
> > dalibor topic
> 

This looks like the error I saw if the JDK has the newer java.lang.String:

changeset:   5315:e1c679a00712
user:        mduigou
date:        Thu May 17 10:06:19 2012 -0700
summary:     6924259: Remove offset and count fields from java.lang.String

but HotSpot doesn't have support for it.  Hit the same thing while getting
the older Zero HotSpot to work with u6.
-- 
Andrew :)

Free Java Software Engineer
Red Hat, Inc. (http://www.redhat.com)

PGP Key: 248BDC07 (https://keys.indymedia.org/)
Fingerprint = EC5A 1F5E C0AD 1D15 8F1F  8F91 3B96 A578 248B DC07




More information about the build-dev mailing list