Mercurial > hg > truffle
diff test/testlibrary/ClassFileInstaller.java @ 10447:638387729ddf
Merge.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Thu, 20 Jun 2013 19:10:40 +0200 |
parents | 43083e670adf |
children |
line wrap: on
line diff
--- a/test/testlibrary/ClassFileInstaller.java Thu Jun 20 19:10:09 2013 +0200 +++ b/test/testlibrary/ClassFileInstaller.java Thu Jun 20 19:10:40 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); }