Skip to content

Removed deprecated usages of getPeerCertificateChain #2151

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

Merged
merged 2 commits into from
Dec 10, 2021

Conversation

dmatej
Copy link
Contributor

@dmatej dmatej commented Dec 10, 2021

A message for the kind reviewer: if you think that it would be good to simply remove those methods now marked as deprecated, I can do that. The SSLSession.getPeerCertificateChain used by the old implementation is not existing in JDK17 any more.

In regard to backward compatibility - calling deprecated methods should be still possible, but implementing the interface means implementing the new version.

Locally all tests passed on JDK11 and JDK17.

…o SSLSupport

- to maintain the backward compatibility I added two new methods consistent
  with SSLSession API and old were marked as deprecated.
- note that if someone extendeds the interface, he still has to add those
  new methods OR better: rename and update his implementation. No changes
  should be required to just call grizzly's implementation.

Signed-off-by: David Matějček <[email protected]>
@arjantijms
Copy link
Contributor

if you think that it would be good to simply remove those methods now marked as deprecated, I can do that.

Let's leave them in for 1 version, so people who find those methods have disappeared can look at the previous version to see what they moved to.

@arjantijms arjantijms merged commit 3fd97ab into eclipse-ee4j:master Dec 10, 2021
@dmatej dmatej deleted the ssl-jdk17 branch December 10, 2021 20:13
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