Skip to content

Commit 689240e

Browse files
committed
Merge pull request #71 from JakeWharton/patch-1
Use the same FileSystem as the outputDir.
2 parents 611bd3c + 54cbd65 commit 689240e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

retrolambda/src/main/java/net/orfjackal/retrolambda/files/OutputDirectory.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public void writeClass(byte[] bytecode) throws IOException {
2222
return;
2323
}
2424
ClassReader cr = new ClassReader(bytecode);
25-
Path relativePath = Paths.get(cr.getClassName() + ".class");
25+
Path relativePath = outputDir.getFileSystem().getPath(cr.getClassName() + ".class");
2626
writeFile(relativePath, bytecode);
2727
}
2828

0 commit comments

Comments
 (0)