[9] RFR: 8164592: java/net/MulticastSocket/NoLoopbackPackets.java tests may leave a daemon thread

Langer, Christoph christoph.langer at sap.com
Tue Aug 23 05:43:17 UTC 2016


Hi Artem,

looks good - Unfortunately I'm no reviewer.

Best regards
Christoph

> -----Original Message-----
> From: net-dev [mailto:net-dev-bounces at openjdk.java.net] On Behalf Of Artem
> Smotrakov
> Sent: Dienstag, 23. August 2016 04:03
> To: Net Dev OpenJDK <net-dev at openjdk.java.net>
> Subject: [9] RFR: 8164592: java/net/MulticastSocket/NoLoopbackPackets.java
> tests may leave a daemon thread
> 
> Hello,
> 
> Please review the following patch for NoLoopbackPackets.java test.
> 
> The test starts a daemon thread which has an infinite loop. If jtreg
> uses the same JVM to run multiple tests (agent VM), then this thread
> will be keep running until the agent VM stops. This is not good, it
> would be better to stop the thread when the test is done.
> 
> Webrev: http://cr.openjdk.java.net/~asmotrak/8164592/webrev.00/
> Bug: https://bugs.openjdk.java.net/browse/JDK-8164592
> 
> Artem


More information about the net-dev mailing list