IllegalMonitorStateException in URLClassLoader

Tom Tromey tromey@redhat.com
Fri May 26 23:10:00 GMT 2006


>>>>> "Juerg" == Juerg Lehni <lehni@gmx.net> writes:

Juerg> java.lang.IllegalMonitorStateException: current thread not owner
Juerg>     at gnu.java.net.protocol.jar.Connection.getJarFile (libgcj.7.dylib)
Juerg>     at java.net.URLClassLoader$JarURLLoader.<init> (libgcj.7.dylib)
Juerg>     at java.net.URLClassLoader.addURLImpl (libgcj.7.dylib)
Juerg>     at java.net.URLClassLoader.addURLImpl (libgcj.7.dylib)
Juerg>     at java.net.URLClassLoader.addURLs (libgcj.7.dylib)

Juerg> It seems to be a problem with GCJ but I could not figure out why this
Juerg> happens. Any thougts?

Offhand, no.  To me this says that something fairly fundamental has
gone wrong.  It shouldn't really be possible to get an
IllegalMonitorStateException from this code.

Tom



More information about the Java mailing list