Mark Wielaard wrote:
> I checked in some of my little bugfixes and some new classes that were not
> yet checked in. Here is the changelog:
Awesome!!
> I did have a strange problem with java.util.Timer with gcj. Sometimes I
> would get java.lang.IllegalMonitorStateException when testing it.
> Could someone with a newer or cvs version of gcj (I have 2.95.2) try the
> attached program with the java.util.Timer[Task] classes from cvs
> (you have to compile them with jikes first to get class files)
> and tell if you still get a IllegalMonitorException. I hope it is a bug
> in gcj, but it might also very well be a bug in my code.
I tried your TimerTest on the current gcj/libgcj and it seems to work perfectly on
my SMP ia32 linux machine.
Is your libgcj older than 2000-03-27? I rewrote much of libgcj's posix-threads
code then. Before that, the wait/notify mechanism was mostly broken.
> I have not yet checked in my beginning of java/util/jar and
> java/net/URLClassLoader that I will clean up next and possibly merge with
> the libgcj ones.
Cool. libgcj's URLClassLoader (in fact a lot of our classloader stuff) is rather
ugly. I for one would love to see it merged/replaced with classpath's
implementations.
regards
[ bryce ]