Fix current directory not being added to path
All checks were successful
Build and Test with Maven / Build-and-test-with-Maven (push) Successful in 2m50s

This commit is contained in:
Daniel Holle 2024-04-18 10:31:12 +02:00
parent c21e5202d6
commit 708aa64283

View File

@ -99,7 +99,7 @@ public class JavaTXCompiler {
if (outputPath != null) path.add(outputPath);
classLoader = new DirectoryClassLoader(path, ClassLoader.getSystemClassLoader());
environment = new CompilationEnvironment(sources);
classPath = contextPath;
classPath = path;
this.outputPath = outputPath;
for (File s : sources) {