Mercurial > hg > graal-compiler
diff test/testlibrary/ClassFileInstaller.java @ 10268:43083e670adf
8005056: NPG: Crash after redefining java.lang.Object
Summary: Need to walk array class vtables replacing old methods too if j.l.o redefined
Reviewed-by: sspitsyn, dcubed, ctornqvi
author | coleenp |
---|---|
date | Mon, 13 May 2013 15:37:08 -0400 |
parents | 1b0dc9f87e75 |
children |
line wrap: on
line diff
--- a/test/testlibrary/ClassFileInstaller.java Mon May 13 18:08:13 2013 +0000 +++ b/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); }