United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
Bug ID: JDK-7117748 SA_APPLE_BOOT_JAVA and ALWAYS_PASS_TEST_GAMMA settings should not be required on MacOS X
JDK-7117748 : SA_APPLE_BOOT_JAVA and ALWAYS_PASS_TEST_GAMMA settings should not be required on MacOS X

Details
Type:
Bug
Submit Date:
2011-12-03
Status:
Closed
Updated Date:
2012-03-22
Project Name:
JDK
Resolved Date:
2012-01-20
Component:
hotspot
OS:
os_x
Sub-Component:
build
CPU:
x86
Priority:
P3
Resolution:
Fixed
Affected Versions:
hs23
Fixed Versions:
hs23 (b08)

Related Reports
Backport:
Backport:

Sub Tasks

Description
The current MacOS X build for HSX-23 requires:

    SA_APPLE_BOOT_JAVA=true
    ALWAYS_PASS_TEST_GAMMA=true

to be specified on the build invocation command line.

That does not integrate well with the JPRT auto build system
and should be fixed.

For SA_APPLE_BOOT_JAVA, the makefile logic should be smarter
and determine where the JDI classes can be found.

For ALWAYS_PASS_TEST_GAMMA, the make/bsd/makefiles/buildtree.make
should set that variable to true when building on Darwin (Mac OS X).
Or more correctly, if ALWAYS_PASS_TEST_GAMMA is not set, then it
should default to "true" on Darwin.

                                    

Comments
EVALUATION

See the description.
                                     
2011-12-03
SUGGESTED FIX

See attached 7117748-webrev-cr0.tgz for the proposed fix.
                                     
2011-12-04
PUBLIC COMMENTS

As per the BSD buildtree.make the inability to run test_gamma should be fixed on OSX.

Also note that in the linux buildtree.make we have another mechanism to "always pass gamma" for the cross-compilation case.
                                     
2011-12-04
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-rt/hotspot/rev/8657ec177a14
                                     
2011-12-06
EVALUATION

http://hg.openjdk.java.net/hsx/hotspot-emb/hotspot/rev/8657ec177a14
                                     
2011-12-15
EVALUATION

http://hg.openjdk.java.net/lambda/lambda/hotspot/rev/8657ec177a14
                                     
2012-03-22



Hardware and Software, Engineered to Work Together