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
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
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