Closed
Description
According to the javadoc of
isPreJavaXX
are supposed to
return true if the compiler configuration represents a Java XX compiler or later, false otherwise
The logic within those methods evaluates partially also the parameter source
(
release
(However I am not sure when CompilerConfiguration.getCompilerVersion()
is reliably set at all. IMHO there should be some logic separate for in-process and forked compiling which determines the real javac
version (either from system property java.version
for in-process compilation or the parsed output of javac -version
)
Metadata
Metadata
Assignees
Labels
No labels