test/sanity/WhiteBox.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File
*** old/test/sanity/WhiteBox.java Tue Dec 9 15:13:26 2014
--- new/test/sanity/WhiteBox.java Tue Dec 9 15:13:25 2014
*** 26,41 ****
--- 26,41 ----
* @bug 8011675
* @summary verify that whitebox can be used even if not all functions are declared in java-part
* @author igor.ignatyev@oracle.com
* @library /testlibrary
* @compile WhiteBox.java
! * @run main ClassFileInstaller sun.hotspot.WhiteBox
! * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI sun.hotspot.WhiteBox
! * @clean sun.hotspot.WhiteBox
! * @run main ClassFileInstaller jdk.testlib.WhiteBox
! * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI jdk.testlib.WhiteBox
! * @clean jdk.testlib.WhiteBox
*/
! package sun.hotspot;
! package jdk.testlib;
public class WhiteBox {
private static native void registerNatives();
static { registerNatives(); }
public native int notExistedMethod();
test/sanity/WhiteBox.java
Index
Unified diffs
Context diffs
Sdiffs
Patch
New
Old
Previous File
Next File