JDK 8 Code review: 7073491

2011-09-15 Thread Michael McMahon
Hi, Could I get the following code change reviewed please? The problem is in AbstractPlainDatagramSocket.create(). If ResourceManager.beforeUdpCreate() throws an exception then fd is left set in the impl object. And if the finalizer for this object runs then it will attempt to close the object

Re: JDK 8 Code review: 7073491

2011-09-15 Thread Neil Richards
On Thu, 2011-09-15 at 13:46 +0100, Michael McMahon wrote: > Hi, > > Could I get the following code change reviewed please? > > The problem is in AbstractPlainDatagramSocket.create(). If > ResourceManager.beforeUdpCreate() > throws an exception then fd is left set in the impl object. And if the

hg: jdk8/tl/jdk: 2 new changesets

2011-09-15 Thread michael . x . mcmahon
Changeset: 9281d65f911a Author:michaelm Date: 2011-09-15 13:50 +0100 URL: http://hg.openjdk.java.net/jdk8/tl/jdk/rev/9281d65f911a 7073491: -Dsun.net.maxDatagramSockets=1 does not work correctly with system.gc() Reviewed-by: ngmr ! src/share/classes/java/net/AbstractPlainDatagramSoc