-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
First pass of J22 support #1819
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1819 +/- ##
============================================
- Coverage 70.89% 70.79% -0.10%
+ Complexity 9966 9855 -111
============================================
Files 828 821 -7
Lines 39957 39693 -264
Branches 6053 6049 -4
============================================
- Hits 28326 28102 -224
+ Misses 8899 8867 -32
+ Partials 2732 2724 -8 ☔ View full report in Codecov by Sentry. |
@@ -6,6 +6,7 @@ plugins { | |||
} | |||
|
|||
apply from: '../gradle/script/spotbugs-config.gradle' | |||
apply from: '../gradle/script/jacoco.gradle' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We apply the new jacooc.gradle
script in those modules that we actively want code coverage metrics on.
@@ -22,6 +22,10 @@ verifyInstrumentation { | |||
fails('org.mongodb:mongo-java-driver:[0.9.1,3.1.0-rc0)') | |||
} | |||
|
|||
test { | |||
systemProperty "jdk.util.zip.disableZip64ExtraFieldValidation", true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Java 22 introduced more robust zip file verification, which was failing on this test (and two others). It seems related to how some of the embedded database artifacts were compressed. This setting disables that extra validation.
Overview
Resolves #1805