--- old/test/jdk/com/sun/tools/attach/PermissionTest.java 2018-11-28 19:06:16.000000000 +0800 +++ new/test/jdk/com/sun/tools/attach/PermissionTest.java 2018-11-28 19:06:15.000000000 +0800 @@ -34,12 +34,11 @@ * @summary Basic unit tests for the VM attach mechanism. Unit test for Attach * API - this checks that a SecurityException is thrown as expected. * - * @library /lib/testlibrary * @library /test/lib * @modules jdk.attach * jdk.jartool/sun.tools.jar * - * @run build jdk.testlibrary.* Application + * @run build Application * @run main PermissionTest */ public class PermissionTest {