--- a/test/lib/sun/hotspot/WhiteBox.java Mon Apr 11 14:21:24 2016 -0700
+++ b/test/lib/sun/hotspot/WhiteBox.java Tue Apr 12 14:17:30 2016 -0400
@@ -307,6 +307,11 @@
Objects.requireNonNull(method);
return enqueueMethodForCompilation0(method, compLevel, entry_bci);
}
+ private native boolean enqueueInitializerForCompilation0(Class<?> aClass, int compLevel);
+ public boolean enqueueInitializerForCompilation(Class<?> aClass, int compLevel) {
+ Objects.requireNonNull(aClass);
+ return enqueueInitializerForCompilation0(aClass, compLevel);
+ }
private native void clearMethodState0(Executable method);
public void clearMethodState(Executable method) {
Objects.requireNonNull(method);