Mercurial > hg > truffle
diff test/testlibrary/ClassFileInstaller.java @ 10423:a6697eaddebd
Merge.
author | Thomas Wuerthinger <thomas.wuerthinger@oracle.com> |
---|---|
date | Wed, 19 Jun 2013 21:54:38 +0200 |
parents | 43083e670adf |
children |
line wrap: on
line diff
--- a/test/testlibrary/ClassFileInstaller.java Wed Jun 19 21:49:09 2013 +0200 +++ b/test/testlibrary/ClassFileInstaller.java Wed Jun 19 21:54:38 2013 +0200 @@ -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); }