Deadlock in clinit for sun.nio.ch.Util/IOUtil
Alan Bateman
Alan.Bateman at oracle.com
Tue Aug 6 22:21:17 PDT 2013
On 06/08/2013 15:21, Jeremy Manson wrote:
> :
>
> We can eagerly do class init as a workaround, but that seems less than
> ideal. It looks easy enough to fix - just move the stuff in Util.load()
> into IOUtil somewhere, and don't call back to Util from IOUtil.<clinit>.
> But I'll defer to the experts.
>
Thanks for the mail, I'll create a bug for this. From an initial look
then moving it to IOUtil should resolve this as Util doesn't define any
native methods and so doesn't care if the native library has been loaded.
-Alan.
More information about the nio-dev
mailing list