equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005, 2013 Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 2005, 2015 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. |
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. |
35 * @library /lib/testlibrary |
35 * @library /lib/testlibrary |
|
36 * @modules java.management |
|
37 * jdk.attach |
|
38 * jdk.jartool/sun.tools.jar |
36 * @run build jdk.testlibrary.* Application |
39 * @run build jdk.testlibrary.* Application |
37 * @run main PermissionTest |
40 * @run main PermissionTest |
38 * |
41 * |
39 * Unit test for Attach API - |
42 * Unit test for Attach API - |
40 * this checks that a SecurityException is thrown as expected. |
43 * this checks that a SecurityException is thrown as expected. |