Skip to content
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

Remove uses of deprecated classes in javax.security.cert #608

Merged
merged 1 commit into from
Apr 11, 2023

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