JDK-8257884 : Re-enable sun/security/ssl/SSLSocketImpl/SSLSocketLeak.java as automatic test
  • Type: Bug
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Affected Version: 16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-12-08
  • Updated: 2021-05-10
  • Resolved: 2020-12-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 11 JDK 16 JDK 8 Other
11.0.11-oracleFixed 16 b28Fixed 8u321Unresolved openjdk8u302Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Description
The test sun/security/ssl/SSLSocketImpl/SSLSocketLeak.java caused sporadic noise because sometimes it opens more file handles than expected. It was moved to a manual test to quiesce this (JDK-8257670)

It would be good, however, to have this test as an automatic test to be able to spot potential regressions. The threshold for windows should be adapted.
Comments
Fix Request (8u): Backport to 8u requested because it is a part of 8u311-oracle. Patch doesn't apply cleanly, review approval email: https://mail.openjdk.java.net/pipermail/jdk8u-dev/2021-April/013751.html
27-04-2021

Hi [~akasko], did you use the skara tool "git hg-export" for exporting? This should usually be able to extract an hg changeset that would apply...
30-12-2020

Fix Request (11u): Backport to 11u requested because it is a part of 11.0.11-oracle. The patch depends on JDK-8256818 and JDK-8257670 (that are currently on approval for 11u) and applies cleanly on top of them. The patch is a prerequisite for JDK-8257997. Testing: checked that changed test passes (with JDK-8257997 included) on Linux and Windows. Commit doesn't pass jcheck because of the discrepancy between git and mercurial author naming, exported commit with corrected naming: https://cr.openjdk.java.net/~akasko/jdk11u/8257884/8257884.changeset
29-12-2020

Changeset: fae7961a Author: Christoph Langer <clanger@openjdk.org> Date: 2020-12-09 08:12:09 +0000 URL: https://git.openjdk.java.net/jdk/commit/fae7961a
09-12-2020