changeset 17373 | 7d8bb2a8787e |
parent 15793 | 4867678e3517 |
child 35572 | c864053d0405 |
--- a/hotspot/test/testlibrary/ClassFileInstaller.java Mon May 13 18:08:13 2013 +0000 +++ b/hotspot/test/testlibrary/ClassFileInstaller.java Mon May 13 15:37:08 2013 -0400 @@ -45,7 +45,9 @@ // Create the class file's package directory Path p = Paths.get(pathName); - Files.createDirectories(p.getParent()); + if (pathName.contains("/")) { + Files.createDirectories(p.getParent()); + } // Create the class file Files.copy(is, p, StandardCopyOption.REPLACE_EXISTING); }