[8u] RFR 8209333: Socket reset issue for TLS 1.3 socket close

Andrew Hughes gnu.andrew at redhat.com
Mon Jan 11 04:08:18 UTC 2021


On 21:01 Fri 08 Jan     , Alvarez, David wrote:
> Hi,
> 
> I would like a review for 8209333. This is one of the Socket related
> patches that were applied to OpenJDK11 after the backport of TLS 1.3 to
> OpenJDK8
> 
> BugId: https://bugs.openjdk.java.net/browse/JDK-8209333
> Webrev: 
> http://cr.openjdk.java.net/~alvdavi/webrevs/8209333/webrev.8u.jdk.00/
> 
> The only relevant differences are in SSLSocketImpl.java, as it
> contained a java 9 try-with-resources block [1]. A
> @SuppressWarnings("try") was needed.
> 
> All tests under sun/security/ssl pass after this change.
> 
> Thanks
> 
> David
> 
> --
> [1] https://hg.openjdk.java.net/jdk-
> updates/jdk11u/rev/ba9e4043b4b1#l2.8

What warning was emitted? Is it not possible to rewrite this so
as to avoid the warning?

Thanks,
-- 
Andrew :)

Senior Free Java Software Engineer
OpenJDK Package Owner
Red Hat, Inc. (http://www.redhat.com)

PGP Key: ed25519/0xCFDA0F9B35964222 (hkp://keys.gnupg.net)
Fingerprint = 5132 579D D154 0ED2 3E04  C5A0 CFDA 0F9B 3596 4222


More information about the jdk8u-dev mailing list