File tree 3 files changed +8
-8
lines changed
tensorflow-core/tensorflow-core-api
main/java11/org/tensorflow
3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 170
170
</configuration >
171
171
</execution >
172
172
<execution >
173
- <id >compile-java-9 </id >
173
+ <id >compile-java-11 </id >
174
174
<phase >compile</phase >
175
175
<goals >
176
176
<goal >compile</goal >
177
177
</goals >
178
178
<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 >
182
182
<compileSourceRoots >
183
- <compileSourceRoot >${project.basedir} /src/main/java9 </compileSourceRoot >
183
+ <compileSourceRoot >${project.basedir} /src/main/java11 </compileSourceRoot >
184
184
</compileSourceRoots >
185
185
<multiReleaseOutput >true</multiReleaseOutput >
186
186
</configuration >
Original file line number Diff line number Diff line change 19
19
20
20
class MRTest {
21
21
static int version (){
22
- return 9 ;
22
+ return 11 ;
23
23
}
24
24
}
Original file line number Diff line number Diff line change @@ -28,8 +28,8 @@ public void testMultirelease() {
28
28
String javaVersion = System .getProperty ("java.version" );
29
29
System .out .println ("Testing on Java version " + javaVersion );
30
30
int value = MRTest .version ();
31
- if (javaVersion .compareTo ("9 " ) >= 0 ) {
32
- assertEquals (9 , value );
31
+ if (javaVersion .compareTo ("11 " ) >= 0 ) {
32
+ assertEquals (11 , value );
33
33
} else {
34
34
assertEquals (8 , value );
35
35
}
You can’t perform that action at this time.
0 commit comments