Skip to content

Commit 664e944

Browse files
committed
get this working on java14
Signed-off-by: olivier lamy <[email protected]>
1 parent 7492342 commit 664e944

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
@@ -112,6 +112,9 @@ public String getTargetVersion()
112112
if (javaVersion.contains("11")){
113113
return "11";
114114
}
115+
if (javaVersion.contains("14")){
116+
return "14";
117+
}
115118
return super.getTargetVersion();
116119
}
117120

@@ -125,6 +128,9 @@ public String getSourceVersion()
125128
if (javaVersion.contains("11")){
126129
return "11";
127130
}
131+
if (javaVersion.contains("14")){
132+
return "14";
133+
}
128134
return super.getTargetVersion();
129135
}
130136

0 commit comments

Comments
 (0)