Additionally, because CompilerUtils.CACHED_COMPILER compiles with -g -nowarn by default, consider using CachedCompiler(File, File, List<String>) either with an empty list of javac options, or with -Xlint:all (unless that causes unrelated warnings which are not useful for the test)?
See https://github.com/OpenHFT/Java-Runtime-Compiler/issues/93
Additionally, because
CompilerUtils.CACHED_COMPILER
compiles with-g -nowarn
by default, consider usingCachedCompiler(File, File, List<String>)
either with an empty list ofjavac
options, or with-Xlint:all
(unless that causes unrelated warnings which are not useful for the test)?