JDK-8048003 : test/compiler/8009761/Test8009761.java failed with: java.lang.RuntimeException: static java.lang.Object Test8009761.m3(boolean,boolean) not compiled
  • Type: Bug
  • Component: hotspot
  • Sub-Component: compiler
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-06-24
  • Updated: 2025-06-29
  • Resolved: 2014-07-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9 Other Other
9 b23Fixed openjdk8u442Fixed openjdk8u442,shenandoah8u442Fixed
Related Reports
Relates :  
Description
----------messages:(3/465)----------
command: main -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:CompileCommand=exclude,Test8009761::m2 -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -Xss256K Test8009761
reason: User specified action: run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI -XX:CompileCommand=exclude,Test8009761::m2 -XX:-UseOnStackReplacement -XX:-BackgroundCompilation -Xss256K Test8009761 
elapsed time (seconds): 0.389
----------System.out:(1/39)----------
CompilerOracle: exclude Test8009761.m2
----------System.err:(13/859)----------
java.lang.RuntimeException: static java.lang.Object Test8009761.m3(boolean,boolean) not compiled
	at Test8009761.main(Test8009761.java:262)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:484)
	at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
	at java.lang.Thread.run(Thread.java:745)

Comments
[jdk8u-fix-request] Approval Request from zzambers Fixes Test8009761.java on Client VM, only affects test, clean, passes GHA
03-10-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk8u-dev/pull/591 Date: 2024-10-03 15:43:34 +0000
03-10-2024

URL: http://hg.openjdk.java.net/jdk9/jdk9/hotspot/rev/8c4e5e10f3b3 User: lana Date: 2014-07-16 16:39:59 +0000
16-07-2014

URL: http://hg.openjdk.java.net/jdk9/hs-comp/hotspot/rev/8c4e5e10f3b3 User: anoll Date: 2014-07-01 06:48:53 +0000
01-07-2014

Problem: The test invokes WHITE_BOX.enqueueMethodForCompilation(m3, COMP_LEVEL_FULL_OPTIMIZATION) to compile m3 with C2. If the C2 compiler is not available the method is not compiled and the test throws an exception. Solution: If compilation with C2 fails, the method is compiled with C1.
25-06-2014