RFR 8154525, java/net/ServerSocket/ThreadStop.java fails intermittently with error while cleaning up threads after test
chris.hegarty at oracle.com
Tue Sep 27 07:55:21 UTC 2016
> On 27 Sep 2016, at 03:08, Felix Yang <felix.yang at oracle.com> wrote:
> Hi all,
> please review following test fix.
> This test has been observed to fail sometimes with "Error while cleaning up threads after test ", even after test complete message printed. Updated it to run with othervm mode.
I think this is fine. Additionally, should the main thread wait/join
the “Server” thread before exiting, to ensure that it is complete
before the test returns ( this would eliminate any potential race
while cleaning up ).
More information about the net-dev