Classload of sun.nio.ch.Net fails - regression in jdk7u25

Martin Buchholz martinrb at google.com
Fri Sep 20 01:21:43 UTC 2013


On Thu, Sep 19, 2013 at 5:30 PM, Alan Bateman <Alan.Bateman at oracle.com>wrote:

> Martin,
>
> I'm curious how you ran into this.


I'm not aware of any way to trigger this using just public APIs.
We sometimes fiddle with the internals of the JDK networking
implementation.
So it's possible that no one will run into this in a "strictly conforming"
java program.


> I agree this should be fixed, it's just not immediately obviously which
> APIs would cause Net to be loaded before other classes that would cause the
> native library to be loaded. I'm not aware of any bug reports so I'm
> curious if you have the original stack trace (not from the Class.forName).
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20130919/43058be9/attachment.html 


More information about the nio-dev mailing list