# HG changeset patch # User bharadwaj # Date 1461094011 14400 # Node ID 761b84c1f916c83dbbc43c730bcbcd1c41df9cf5 # Parent 195cce4029349390419204928ac545b51ec64877# Parent 552c8a62ea8b56317f7640ea9f459eef12e37705 Merge diff -r 195cce402934 -r 761b84c1f916 test/lib/sun/hotspot/WhiteBox.java --- a/test/lib/sun/hotspot/WhiteBox.java Tue Apr 19 13:19:41 2016 +0200 +++ b/test/lib/sun/hotspot/WhiteBox.java Tue Apr 19 15:26:51 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);