Deadlock in clinit for sun.nio.ch.Util/IOUtil
Alan.Bateman at oracle.com
Wed Aug 7 05:21:17 UTC 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.
More information about the core-libs-dev