test/sanity/WBApi.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File
*** old/test/sanity/WBApi.java	Tue Dec  9 15:13:25 2014
--- new/test/sanity/WBApi.java	Tue Dec  9 15:13:25 2014

*** 22,39 **** --- 22,39 ---- */ /* * @test WBApi * @summary verify that whitebox functions can be linked and executed ! * @library /testlibrary /testlibrary/whitebox ! * @library /testlibrary /../../test/lib * @build WBApi ! * @run main ClassFileInstaller sun.hotspot.WhiteBox ! * sun.hotspot.WhiteBox$WhiteBoxPermission ! * @run main ClassFileInstaller jdk.testlib.WhiteBox ! * jdk.testlib.WhiteBox$WhiteBoxPermission * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI WBApi */ ! import sun.hotspot.WhiteBox; ! import jdk.testlib.WhiteBox; public class WBApi { public static void main(String... args) { System.out.printf("args at: %x\n",WhiteBox.getWhiteBox().getObjectAddress(args)); } }

test/sanity/WBApi.java
Index Unified diffs Context diffs Sdiffs Patch New Old Previous File Next File