Skip to content

Commit

Permalink
Merge pull request #71 from JakeWharton/patch-1
Browse files Browse the repository at this point in the history
Use the same FileSystem as the outputDir.
  • Loading branch information
luontola committed Dec 15, 2015
2 parents 611bd3c + 54cbd65 commit 689240e
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -22,7 +22,7 @@ public void writeClass(byte[] bytecode) throws IOException {
return;
}
ClassReader cr = new ClassReader(bytecode);
Path relativePath = Paths.get(cr.getClassName() + ".class");
Path relativePath = outputDir.getFileSystem().getPath(cr.getClassName() + ".class");
writeFile(relativePath, bytecode);
}

Expand Down

0 comments on commit 689240e

Please sign in to comment.