Skip to content

Commit 4c2e988

Browse files
committed
Deprecated.forRelease was added in Java 9, so the release compatibility should be 9 to avoid compiler warning.
1 parent 85d7688 commit 4c2e988

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servlet/jakarta/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ if (JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
111111
testClassesDirs = sourceSets.jettyTest.output.classesDirs
112112
}
113113
tasks.named('compileJettyTestJava') { JavaCompile task ->
114-
task.options.release.set 8
114+
task.options.release.set 9
115115
}
116116
tasks.named("check").configure {
117117
dependsOn jetty11Test

0 commit comments

Comments
 (0)