Skip to content

Commit

Permalink
Convert tomcat 10 tests from groovy to java (#11420)
Browse files Browse the repository at this point in the history
  • Loading branch information
jaydeluca authored May 24, 2024
1 parent c9cbd8a commit 98d0c3d
Show file tree
Hide file tree
Showing 9 changed files with 376 additions and 355 deletions.
8 changes: 8 additions & 0 deletions instrumentation/tomcat/tomcat-10.0/javaagent/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,11 @@ tasks {
jvmArgs("-Dotel.instrumentation.common.experimental.controller-telemetry.enabled=true")
}
}

// Tomcat 10 uses deprecation annotation methods `forRemoval()` and `since()`
// in jakarta.servlet.http.HttpServlet that don't work with Java 8
if (findProperty("testLatestDeps") as Boolean) {
otelJava {
minJavaVersionSupported.set(JavaVersion.VERSION_11)
}
}

This file was deleted.

This file was deleted.

This file was deleted.

Loading

0 comments on commit 98d0c3d

Please sign in to comment.