RFR  8211325: test/jdk/java/net/Socket/LingerTest.java fails with cleaning up
chris.hegarty at oracle.com
Mon Oct 1 14:08:33 UTC 2018
Similar to the recent test fix for 8211092 , this change proposes to
modify the test so that it's main method does not return until all
threads, created by the test, terminate. This is important when run in
samevm / agentvm mode.
The change avoids any potential issues where jtreg may attempt to "clean
-up" these threads ( the clean up fails quite often as the closer thread
can linger in blocking close ).
P.S. I'll fix some of the unrelated indentation issue before pushing,
which have been deliberately omitted to avoid confusing the actual
More information about the net-dev