JDK-8249825 : Tests sun/security/ssl/SSLSocketImpl/SetClientMode.java and NonAutoClose.java marked with @ignore
  • Type: Sub-task
  • Component: security-libs
  • Sub-Component: javax.net.ssl
  • Affected Version: 11,15,16
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-07-21
  • Updated: 2025-06-26
  • Resolved: 2025-05-14
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 17 JDK 21 JDK 25
11.0.29-oracleFixed 17.0.17-oracleFixed 21.0.9-oracleFixed 25 b23Fixed
Related Reports
Relates :  
Description
after JDK-8196584, sun/security/ssl/SSLSocketImpl/SetClientMode.java and NonAutoClose.java have '@ignore this test does not grant to work.  The handshake may have completed when getSession() return.  Please update or remove this test case.' 

canonically, @ignore should be followed by the id of the bug which describes the problem and will be used to eventually fix it.
Comments
[jdk21u-fix-request] Approval Request from Bara' Hasheesh enable previously disabled tests, & make the needed refactoring to solve the flakiness issues that were previously present in the tests. Backported for parity with oracle. Applies cleanly, tier1 tests & modified test passes (ran both 500 times with no observed failures). Risk is minimal as this only changes existing tests & changed tests pass.
25-06-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk21u-dev/pull/1921 Date: 2025-06-25 09:16:41 +0000
25-06-2025

Changeset: 86f39ab5 Branch: master Author: Fernando Guallini <fguallini@openjdk.org> Date: 2025-05-14 08:39:21 +0000 URL: https://git.openjdk.org/jdk/commit/86f39ab5bb58a1d1e720badd7261365398134151
14-05-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/23898 Date: 2025-03-04 13:07:37 +0000
04-03-2025