diff --git a/tool/test/org/antlr/v4/test/BaseTest.java b/tool/test/org/antlr/v4/test/BaseTest.java index ab98b9d5e..aaacc6d12 100644 --- a/tool/test/org/antlr/v4/test/BaseTest.java +++ b/tool/test/org/antlr/v4/test/BaseTest.java @@ -292,7 +292,7 @@ public abstract class BaseTest { fileManager.getJavaFileObjectsFromFiles(files); Iterable compileOptions = - Arrays.asList("-d", tmpdir, "-cp", tmpdir+pathSep+CLASSPATH); + Arrays.asList("-g", "-d", tmpdir, "-cp", tmpdir+pathSep+CLASSPATH); JavaCompiler.CompilationTask task = compiler.getTask(null, fileManager, null, compileOptions, null,