-
Notifications
You must be signed in to change notification settings - Fork 61
Closed
Description
According to the javadoc of
Line 410 in c5edddc
private static boolean isPreJava16(CompilerConfiguration config) { |
Line 393 in c5edddc
private static boolean isPreJava14(CompilerConfiguration config) { |
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
(
Line 418 in c5edddc
v = config.getSourceVersion(); |
release
(Line 435 in c5edddc
String v = config.getReleaseVersion(); |
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