File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
tests/objectbox-java-test Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -98,11 +98,12 @@ test-jdk-8:
98
98
variables :
99
99
TEST_JDK : 8
100
100
101
- test-jdk-16 :
101
+ # JDK 17 is the latest LTS release.
102
+ test-jdk-17 :
102
103
extends : .test-asan-template
103
104
needs : ["test-jdk-8"]
104
105
variables :
105
- TEST_JDK : 16
106
+ TEST_JDK : 17
106
107
107
108
test-jdk-x86 :
108
109
extends : .test-template
Original file line number Diff line number Diff line change 65
65
println (" Will run tests with $javaExecutablePath " )
66
66
executable = javaExecutablePath
67
67
} else if (System . getenv(" TEST_JDK" ) != null ) {
68
- // to run tests on a different JDK
68
+ // To run tests on a different JDK, uses Gradle toolchains API (https://docs.gradle.org/current/userguide/toolchains.html)
69
69
def sdkVersionInt = System . getenv(" TEST_JDK" ) as Integer
70
70
println (" Will run tests with JDK $sdkVersionInt " )
71
71
javaLauncher. set(javaToolchains. launcherFor {
You can’t perform that action at this time.
0 commit comments