equal
deleted
inserted
replaced
22 */ |
22 */ |
23 |
23 |
24 /* |
24 /* |
25 * @test |
25 * @test |
26 * @summary Creates an anonymous class inside of an anonymous class. |
26 * @summary Creates an anonymous class inside of an anonymous class. |
27 * @library /testlibrary |
27 * @library /test/lib |
28 * @modules java.base/jdk.internal.misc |
28 * @modules java.base/jdk.internal.misc |
29 * java.compiler |
29 * java.compiler |
30 * java.management |
30 * java.management |
31 * @run main NestedUnsafe |
31 * @run main NestedUnsafe |
32 */ |
32 */ |
33 |
33 |
34 import java.security.ProtectionDomain; |
34 import java.security.ProtectionDomain; |
35 import java.io.InputStream; |
35 import java.io.InputStream; |
36 import java.lang.*; |
36 import java.lang.*; |
37 import jdk.test.lib.*; |
37 import jdk.test.lib.InMemoryJavaCompiler; |
|
38 import jdk.test.lib.Utils; |
38 import jdk.internal.misc.Unsafe; |
39 import jdk.internal.misc.Unsafe; |
39 import static jdk.test.lib.Asserts.*; |
40 import static jdk.test.lib.Asserts.*; |
40 |
41 |
41 // package p; |
42 // package p; |
42 |
43 |