equal
deleted
inserted
replaced
29 import jdk.testlibrary.ProcessThread; |
29 import jdk.testlibrary.ProcessThread; |
30 |
30 |
31 /* |
31 /* |
32 * @test |
32 * @test |
33 * @bug 6173612 6273707 6277253 6335921 6348630 6342019 6381757 |
33 * @bug 6173612 6273707 6277253 6335921 6348630 6342019 6381757 |
34 * @summary Basic unit tests for the VM attach mechanism. |
34 * @summary Basic unit tests for the VM attach mechanism. Unit test for Attach |
35 * @modules jdk.jartool/sun.tools.jar |
35 * API - this checks that a SecurityException is thrown as expected. |
|
36 * |
36 * @library /lib/testlibrary |
37 * @library /lib/testlibrary |
37 * @modules java.management |
38 * @modules jdk.attach |
38 * jdk.attach |
|
39 * jdk.jartool/sun.tools.jar |
39 * jdk.jartool/sun.tools.jar |
|
40 * |
40 * @run build jdk.testlibrary.* Application |
41 * @run build jdk.testlibrary.* Application |
41 * @run main PermissionTest |
42 * @run main PermissionTest |
42 * |
|
43 * Unit test for Attach API - |
|
44 * this checks that a SecurityException is thrown as expected. |
|
45 */ |
43 */ |
46 public class PermissionTest { |
44 public class PermissionTest { |
47 |
45 |
48 /* |
46 /* |
49 * The actual test is in the nested class TestMain. |
47 * The actual test is in the nested class TestMain. |