8022594: Potential deadlock in <clinit> of sun.nio.ch.Util/IOUtil
Alan Bateman
Alan.Bateman at oracle.com
Wed Aug 28 07:51:01 PDT 2013
On 28/08/2013 13:48, Chris Hegarty wrote:
> The changes look good to me Alan.
>
> I verified that the removal (IO)Util.load should be fine where you
> have done it, as those classes don't have native methods.
>
> Trivially, I don't think SctpMultiChannelImpl or SctpServerChannelImpl
> need to call IOUtil.load ( or load libsctp ) as they don't have any
> native methods, but I appreciate you fixing these and understand if
> you don't want to change them as part of this changeset.
>
> -Chris.
>
SctpMultiChannelImpl and SctpServerChannelImpl load libsctp (which is
linked to libnio and libnet) so it's probably best if we do the
initialization consistently to avoid other potential issues.
-Alan.
More information about the nio-dev
mailing list