7u6 mac os x build vs. test_gamma
Dalibor Topic
dalibor.topic at oracle.com
Wed Aug 8 14:44:04 UTC 2012
On 8/8/12 2:10 PM, Andrew Hughes wrote:
> ----- 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.
>
Oddly enough, $ export LANG=C fixed it for the subsequent make clean && make run,
which printed the same
"Using java runtime at: /Library/Java/JavaVirtualMachines/1.7.0.jdk/Contents/Home/jr"
message after printing the test results, and carried on.
I think we should document the export LANG=C setting in the Mac OS X section of
the build README for 7u.
cheers,
dalibor topic
--
Oracle <http://www.oracle.com>
Dalibor Topic | Principal Product Manager
Phone: +494089091214 <tel:+494089091214> | Mobile: +491737185961 <tel:+491737185961>
Oracle Java Platform Group
ORACLE Deutschland B.V. & Co. KG | Nagelsweg 55 | 20097 Hamburg
ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstr. 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603
Geschäftsführer: Jürgen Kunz
Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Niederlande, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Astrid Kepper, Val Maher
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to developing practices and products that help protect the environment
More information about the build-dev
mailing list