IllegalMonitorStateException in URLClassLoader
Juerg Lehni
lehni@gmx.net
Mon May 29 09:31:00 GMT 2006
You were right, Tom.
Both this problem and the mentioned deadlock were due to a half
broken GCJ library. I used the installer from http://
hpc.sourceforge.net/ and was expecting it to work. Now after
compiling gcc41 from DarwinPorts, both problems disappeared, and my
app runs without such problems.
Jürg
Am 27.05.2006 um 01:06 schrieb Tom Tromey:
>>>>>> "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