On Sun, 2006-12-03 at 19:40 +0000, Robert Lougher wrote: > Hi, > > While implementing the ThreadMXBean stuff in JamVM I noticed a couple > of problems with the ThreadInfo class. The first constructor will > throw NullPointerExceptions if the lock or lockOwner is null (which it > will be if the thread isn't blocked), and in several accessors the > BLOCKED state check should be negated (in fact, they can be removed, > as the values are "right" anyway). > > I've attached a patch. Any chance this could be fixed for 0.93? > > Thanks, > > Rob. Well spotted; this is why we really need people to implement this stuff... ;) Thanks, Robert. Mark, can you commit this for 0.93? Cheers, -- Andrew :-) Escape the Java Trap with GNU Classpath! http://www.gnu.org/philosophy/java-trap.html public class gcj extends Freedom implements Java { ... }
Attachment:
signature.asc
Description: This is a digitally signed message part