forked from JavaTX/JavaCompilerCore
Fixed wrong resources path in TestCodegen
This commit is contained in:
parent
eaeb3c4106
commit
41d8e223ce
@ -37,7 +37,7 @@ public class TestCodegen {
|
||||
}
|
||||
|
||||
public static Map<String, ? extends Class<?>> generateClassFiles(IByteArrayClassLoader classLoader, String... files) throws IOException, ClassNotFoundException {
|
||||
var path = Path.of(System.getProperty("user.dir"), "/resources/bytecode/javFiles/");
|
||||
var path = Path.of(System.getProperty("user.dir"), "src/test/resources/javFiles/");
|
||||
var filenames = Arrays.stream(files).map(filename -> Path.of(path.toString(), filename).toFile()).toList();
|
||||
var compiler = new JavaTXCompiler(filenames, List.of(path.toFile(), outputPath.toFile()));
|
||||
var resultSet = compiler.typeInference();
|
||||
|
Loading…
Reference in New Issue
Block a user