Skip to content

Commit 324eafd

Browse files
committed
java 17
Signed-off-by: olivier lamy <[email protected]>
1 parent 95b2cbc commit 324eafd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

plexus-compilers/plexus-compiler-javac/src/test/java/org/codehaus/plexus/compiler/javac/AbstractJavacCompilerTest.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,9 @@ public String getTargetVersion()
122122
if (javaVersion.contains("16")){
123123
return "16";
124124
}
125+
if (javaVersion.contains("17")){
126+
return "17";
127+
}
125128
return super.getTargetVersion();
126129
}
127130

@@ -148,6 +151,9 @@ public String getSourceVersion()
148151
if (javaVersion.contains("16")){
149152
return "16";
150153
}
154+
if (javaVersion.contains("17")){
155+
return "17";
156+
}
151157
return super.getTargetVersion();
152158
}
153159

0 commit comments

Comments
 (0)