File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
tensorflow-core/tensorflow-core-api
main/java11/org/tensorflow Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 170170 </configuration >
171171 </execution >
172172 <execution >
173- <id >compile-java-9 </id >
173+ <id >compile-java-11 </id >
174174 <phase >compile</phase >
175175 <goals >
176176 <goal >compile</goal >
177177 </goals >
178178 <configuration >
179- <release >9 </release >
180- <source >9 </source >
181- <target >9 </target >
179+ <release >11 </release >
180+ <source >11 </source >
181+ <target >11 </target >
182182 <compileSourceRoots >
183- <compileSourceRoot >${project.basedir} /src/main/java9 </compileSourceRoot >
183+ <compileSourceRoot >${project.basedir} /src/main/java11 </compileSourceRoot >
184184 </compileSourceRoots >
185185 <multiReleaseOutput >true</multiReleaseOutput >
186186 </configuration >
Original file line number Diff line number Diff line change 1919
2020class MRTest {
2121 static int version (){
22- return 9 ;
22+ return 11 ;
2323 }
2424}
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ public void testMultirelease() {
2828 String javaVersion = System .getProperty ("java.version" );
2929 System .out .println ("Testing on Java version " + javaVersion );
3030 int value = MRTest .version ();
31- if (javaVersion .compareTo ("9 " ) >= 0 ) {
32- assertEquals (9 , value );
31+ if (javaVersion .compareTo ("11 " ) >= 0 ) {
32+ assertEquals (11 , value );
3333 } else {
3434 assertEquals (8 , value );
3535 }
You can’t perform that action at this time.
0 commit comments