-
Type:
Enhancement
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 9
-
Component/s: hotspot
-
Environment:
Whitebox API
-
b120
Currently, the Whitebox API method enqueueMethodForCompilation() takes a java.lang.reflect.Executable method to compile. Unfortunately, the static initializer <clinit> is not accessible through reflection and compilation can therefore not be triggered by using the Whitebox API.
This should be fixed to allow tests to trigger compilation of <clinit>.
This should be fixed to allow tests to trigger compilation of <clinit>.
- relates to
-
JDK-8153515 [ctw] CompileTheWorld testlibrary should trigger compilation of <clinit> and <init>
-
- Resolved
-