RFR: 7113349 JDK8 port to macosx

Stephen Bannasch stephen.bannasch at deanbrook.org
Mon Mar 5 12:52:55 PST 2012


At 4:05 PM +0000 3/5/12, Michael McMahon wrote:
>I'm still having problems reproducing this, even with the same boot JDK you are using.
>
>I remember the original macosx-port hotspot had a build option called ALWAYS_PASS_TEST_GAMMA.
>So, presumably there has been an issue with this before.
>
>Based on what you say below about possible  issues running an 8 gamma with a libjava from 7
>is this some kind of boot strapping problem, which may need an option like the above
>until we get promoted macos builds where the right libjava can be pulled in?
>I don't know enough about gamma to know if this makes sense..

I've reproduced John's error on 10.6.8 applying webrev.4 on top of jdk8/tl.

Am setting ALT_BOOTDIR to 1.7.0_04 as built from jdk7u-dev on Mar 4.

Here's what -Xinternalversion reports from that build:

  OpenJDK 64-Bit Server VM (23.0-b16) for bsd-amd64
  JRE (1.7.0_04-internal-stephen_2012_03_04_02_12-b00),
  built on Mar  4 2012 02:23:33 by "stephen" with gcc 4.2.1
  (Based on Apple Inc. build 5658) (LLVM build 2335.6)

This is how I setup the repo, applied patches and initiated the build:

  https://gist.github.com/1980690

The error occurs running ./test_gamma:
  ...
  echo "Doing vm.make build:"
  Doing vm.make build:
  All done.
  cd bsd_amd64_compiler2/product && ./test_gamma
  Using java runtime at: /Users/stephen/Library/Java/JavaVirtualMachines/1.7.0_04-2012_03_04.jdk/Contents/Home/jre
  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)



More information about the macosx-port-dev mailing list