Re: java.lang.management.ThreadInfo

2006-12-04 Thread Mark Wielaard
Hi, On Sun, 2006-12-03 at 21:16 +, Andrew John Hughes wrote: On Sun, 2006-12-03 at 19:40 +, Robert Lougher wrote: While implementing the ThreadMXBean stuff in JamVM I noticed a couple of problems with the ThreadInfo class. The first constructor will throw NullPointerExceptions if

java.lang.management.ThreadInfo

2006-12-03 Thread Robert Lougher
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

Re: java.lang.management.ThreadInfo

2006-12-03 Thread Andrew John Hughes
On Sun, 2006-12-03 at 19:40 +, 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