You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plexus-compilers/plexus-compiler-javac/src/main/java/org/codehaus/plexus/compiler/javac/JavacCompiler.java
+1-1
Original file line number
Diff line number
Diff line change
@@ -381,7 +381,7 @@ public static String[] buildCompilerArguments(
381
381
args.add("-Werror");
382
382
}
383
383
384
-
if (!StringUtils.isEmpty(config.getReleaseVersion())) {
384
+
if (JavaVersion.JAVA_9.isOlderOrEqualTo(javacVersion) && !StringUtils.isEmpty(config.getReleaseVersion())) {
0 commit comments