equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2012, 2016, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. |
7 * published by the Free Software Foundation. |
23 |
23 |
24 /* |
24 /* |
25 * @test WBApi |
25 * @test WBApi |
26 * @summary verify that whitebox functions can be linked and executed |
26 * @summary verify that whitebox functions can be linked and executed |
27 * @modules java.base/jdk.internal.misc |
27 * @modules java.base/jdk.internal.misc |
28 * @library /testlibrary /test/lib |
28 * @library /test/lib |
29 * @build WBApi |
29 * @build sun.hotspot.WhiteBox |
30 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
30 * @run main ClassFileInstaller sun.hotspot.WhiteBox |
31 * sun.hotspot.WhiteBox$WhiteBoxPermission |
31 * sun.hotspot.WhiteBox$WhiteBoxPermission |
32 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI WBApi |
32 * @run main/othervm -Xbootclasspath/a:. -XX:+UnlockDiagnosticVMOptions -XX:+WhiteBoxAPI WBApi |
33 */ |
33 */ |
34 |
34 |