JDK-8211920 : Close server socket and cleanups in test/jdk/javax/naming/module/RunBasic.java
  • Type: Sub-task
  • Component: core-libs
  • Sub-Component: javax.naming
  • Affected Version: 12
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2018-10-09
  • Updated: 2024-10-15
  • Resolved: 2018-10-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 12
11.0.25Fixed 12 b15Fixed
Related Reports
Relates :  
Description
When the test fails sometimes the output is truncated, or even absent, as the test's sub-process does not complete. This may happen if the client-side encounters an issue and leaves the non-daemon server-side thread blocked in accept.  The test should close the server socket when the client-side completes. This will enable the "real" error to be seen.
Comments
Fix Request (11u) The patch is clean. The fix for the test bug. Review 11u-dev: https://git.openjdk.org/jdk11u-dev/pull/2942
27-09-2024

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk11u-dev/pull/2942 Date: 2024-09-27 07:25:15 +0000
27-09-2024

URL: http://hg.openjdk.java.net/jdk/jdk/rev/e25291a90cba User: chegar Date: 2018-10-09 10:44:45 +0000
09-10-2018