Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -211,10 +211,10 @@ timber = { module = "com.jakewharton.timber:timber", version = "4.7.1" }
gummy-bears-api21 = { module = "com.toasttab.android:gummy-bears-api-21", version.ref = "gummyBears" }

# tomcat libraries
tomcat-catalina = { module = "org.apache.tomcat:tomcat-catalina", version = "9.0.108" }
tomcat-embed-jasper = { module = "org.apache.tomcat.embed:tomcat-embed-jasper", version = "9.0.108" }
tomcat-catalina-jakarta = { module = "org.apache.tomcat:tomcat-catalina", version = "11.0.10" }
tomcat-embed-jasper-jakarta = { module = "org.apache.tomcat.embed:tomcat-embed-jasper", version = "11.0.10" }
tomcat-catalina = { module = "org.apache.tomcat:tomcat-catalina", version = "11.0.22" }
tomcat-embed-jasper = { module = "org.apache.tomcat.embed:tomcat-embed-jasper", version = "11.0.22" }
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Non-Jakarta Tomcat bumped to Jakarta-only version

High Severity

The non-Jakarta tomcat-catalina and tomcat-embed-jasper were intentionally pinned to Tomcat 9.0.x because they provide javax.servlet.* APIs. Bumping them to 11.0.22 makes them identical to the -jakarta variants, which only provide jakarta.servlet.* APIs. Code in sentry-samples-spring, sentry-spring, and sentry-servlet that imports javax.servlet.* will fail at compile or runtime because Tomcat 11 no longer ships those classes.

Additional Locations (1)
Fix in Cursor Fix in Web

Reviewed by Cursor Bugbot for commit e24ac2b. Configure here.

tomcat-catalina-jakarta = { module = "org.apache.tomcat:tomcat-catalina", version = "11.0.22" }
tomcat-embed-jasper-jakarta = { module = "org.apache.tomcat.embed:tomcat-embed-jasper", version = "11.0.22" }

# test libraries
androidx-compose-ui-test-junit4 = { module = "androidx.compose.ui:ui-test-junit4", version = "1.9.5" }
Expand Down
Loading