forked from JavaTX/JavaCompilerCore
These are the defaults, actually
This commit is contained in:
parent
baec9999db
commit
21fb477ee1
@ -31,7 +31,7 @@ public class TestCodegen {
|
||||
private static void writeClassFile(String name, byte[] code) throws IOException {
|
||||
var path = Path.of(System.getProperty("user.dir"), "src/test/resources/target/");
|
||||
Files.createDirectories(path);
|
||||
Files.write(path.resolve(name + ".class"), code, StandardOpenOption.CREATE, StandardOpenOption.TRUNCATE_EXISTING);
|
||||
Files.write(path.resolve(name + ".class"), code);
|
||||
}
|
||||
|
||||
public static Class<?> generateClass(TargetClass clazz, IByteArrayClassLoader classLoader) throws IOException {
|
||||
|
Loading…
Reference in New Issue
Block a user