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:
9898 variables :
9999 TEST_JDK : 8
100100
101- test-jdk-16 :
101+ # JDK 17 is the latest LTS release.
102+ test-jdk-17 :
102103 extends : .test-asan-template
103104 needs : ["test-jdk-8"]
104105 variables :
105- TEST_JDK : 16
106+ TEST_JDK : 17
106107
107108test-jdk-x86 :
108109 extends : .test-template
Original file line number Diff line number Diff line change 6565 println (" Will run tests with $javaExecutablePath " )
6666 executable = javaExecutablePath
6767 } 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)
6969 def sdkVersionInt = System . getenv(" TEST_JDK" ) as Integer
7070 println (" Will run tests with JDK $sdkVersionInt " )
7171 javaLauncher. set(javaToolchains. launcherFor {
You can’t perform that action at this time.
0 commit comments