Skip to content

Commit 4245690

Browse files
committed
Raise the limit in our toolchain conventions to 8
1 parent a73fa5a commit 4245690

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

buildSrc/src/main/groovy/io.deephaven.java-toolchain-conventions.gradle

+5-5
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ def testRuntimeVersion = Integer.parseInt((String)project.findProperty('testRunt
1616
def testRuntimeVendor = project.hasProperty('testRuntimeVendor') ? JvmVendorSpec.matching((String)project.property('testRuntimeVendor')): null
1717

1818
if (languageLevel > compilerVersion) {
19-
throw new IllegalArgumentException("languageLevel must be less than or equal to compileVersion")
19+
throw new IllegalArgumentException("languageLevel must be less than or equal to compilerVersion")
2020
}
21-
if (languageLevel < 8) {
22-
throw new IllegalArgumentException("languageLevel must be greater than or equal to 8")
21+
if (languageLevel < 11) {
22+
throw new IllegalArgumentException("languageLevel must be greater than or equal to 11")
2323
}
24-
if (testLanguageLevel < 8) {
25-
throw new IllegalArgumentException("testLanguageLevel must be greater than or equal to 8")
24+
if (testLanguageLevel < 11) {
25+
throw new IllegalArgumentException("testLanguageLevel must be greater than or equal to 11")
2626
}
2727
if (runtimeVersion < languageLevel) {
2828
throw new IllegalArgumentException("runtimeVersion must be greater than or equal to languageLevel")

0 commit comments

Comments
 (0)