Java17 - #8
Open
harsha-amarasiri wants to merge 8 commits into
Open
Conversation
…e 1.85 test compatibility Dependency updates: - org.bouncycastle:bcpkix-jdk18on 1.84 -> 1.85 - com.google.guava:guava 33.6.0-jre -> 33.7.1-jre - com.sun.xml.bind:jaxb-impl 4.0.6 -> 4.0.9 - jakarta.xml.bind:jakarta.xml.bind-api 4.0.5 -> 4.1.0-M1 - joda-time:joda-time 2.14.2 -> 2.14.3 - network.oxalis.pkix:pkix-ocsp 2.6.1-SNAPSHOT-j17 -> 2.6.2 Plugin updates: - maven-gpg-plugin 3.0.1 -> 3.2.8 Fix: BouncyCastle 1.85 enforces ISO 3166-1 / X.520 requiring country codes to be exactly 2 characters. Replaced invalid C=None (4 chars) with C=NO in X509TestGenerator to restore test compatibility.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Pull Request Description
Java 17 upgrade and dependency and plugin upgrades with BouncyCastle 1.85 test compatibility fix
Java 17 upgrade
update compile targets and CI/CD to Java 17
Dependency updates:
org.bouncycastle:bcpkix-jdk18on1.84 → 1.85com.google.guava:guava33.6.0-jre → 33.7.1-jrecom.sun.xml.bind:jaxb-impl4.0.6 → 4.0.9jakarta.xml.bind:jakarta.xml.bind-api4.0.5 → 4.1.0-M1joda-time:joda-time2.14.2 → 2.14.3network.oxalis.pkix:pkix-ocsp2.6.1-SNAPSHOT-j17 → 2.6.2Plugin updates:
maven-gpg-plugin3.0.1 → 3.2.8Test fix:
C(Country) attribute in X.500 Distinguished Names to be exactly 2 charactersX509TestGeneratorwas usingC=None(4 characters) as a placeholder country code in self-signed test certificate generation, causing all tests that rely on dynamically generated certificates to fail withIllegalArgumentExceptionC=NonewithC=NOacross all three DN string occurrences inX509TestGeneratorKey component affected:
X509TestGenerator- test utility for generating X.509 certificates used acrossExpirationRuleTest,ExpirationSoonRuleTest,CriticalExtensionRequiredRuleTest, andNorwegianOrganizationNumberRuleTestType of Pull Request
Type of Change
Pull Request Checklist:
mvn clean installbefore commit and all tests run successfullymasterbranch