diff -r fb96c297a819 -r b83d51c77b31 jdk/test/com/sun/tools/attach/PermissionTest.java --- a/jdk/test/com/sun/tools/attach/PermissionTest.java Wed Jan 21 15:06:31 2015 +0100 +++ b/jdk/test/com/sun/tools/attach/PermissionTest.java Fri Jan 23 14:20:52 2015 +0100 @@ -71,10 +71,8 @@ private static void runTests(long pid) throws Throwable { final String sep = File.separator; - // Need to add jdk/lib/tools.jar to classpath. String classpath = - System.getProperty("test.class.path", "") + File.pathSeparator + - System.getProperty("test.jdk", ".") + sep + "lib" + sep + "tools.jar"; + System.getProperty("test.class.path", ""); String testSrc = System.getProperty("test.src", "") + sep; // Use a policy that will NOT allow attach. Test will verify exception.