Skip to content

Conversation

@eirbjo
Copy link
Contributor

@eirbjo eirbjo commented Apr 11, 2023

Efforts are underway in the OpenJDK project to remove the long deprecated-for-removal classes in the package javax.security.cert. These classes were introduced for backwards compatibility concerns with the unbundled JSSE release for JDK 1.2/1.3, but their use have been discouraged since they were introduced.

It would be good to update Tomcat to not depend on / use these archaic APIs.

See https://bugs.openjdk.org/browse/JDK-8227024 and the corresponding CSR https://bugs.openjdk.org/browse/JDK-8227395

@eirbjo eirbjo changed the title Remove uses of classes in deprecated package javax.security.cert Remove uses of deprecated classes in javax.security.cert Apr 11, 2023
@markt-asf
Copy link
Contributor

Thanks for the PR.

Note for reviewers: There is a default method in Java 17 (but not Java 11) so this change is safe in Tomcat 11 but can't be back-ported to earlier versions.

@markt-asf markt-asf merged commit 58c3b5d into apache:main Apr 11, 2023
@eirbjo eirbjo deleted the remove-javax.security.cert branch April 11, 2023 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants