When I run java code similar to this:
JavaCompiler compiler = ToolProvider.getSystemJavaCompiler();
...
CompilationTask task = compiler.getTask(null, javaFileManager, diagnosticCollector, null, null, Collections.singletonList(fileObject));
task.call();
A file called classlist.mf
appears in my working directory.
None of my sources contain the string "classlist". I am only using the standard javax.tools
api's. That file contains exactly one (of the many) classes that I generated:
org.optaplanner.core.impl.domain.common.accessor.generated.org.optaplanner.examples.common.domain.AbstractPersistable$getId
How can I prevent that classlist.mf
file from appearing in my working directory?