RFR(XS): 8022301: [TESTBUG] runtime/jsig/Test8017498.sh incorrectly compiles native code

Calvin Cheung calvin.cheung at oracle.com
Tue Jan 7 17:49:00 PST 2014


bug: https://bugs.openjdk.java.net/browse/JDK-8022301

Problem:
     When the test is run with 32-bit JDK, the script doesn't build 
32-bit native lib and resulting in failure.

Fix:
     Use the -m32 compile flag if a 32-bit JDK is being used.
     Also adding the link option '-z noexecstack' as noted in the 
description section.

webrev:
     http://cr.openjdk.java.net/~ccheung/8022301/webrev/

Testing:
     Ran the test case with 32- and 64-bit JDK on a linux-x64 machine.

thanks,
Calvin


More information about the hotspot-runtime-dev mailing list