On 26 July 2012 23:21, Pendergrass, James A. James.Pendergrass@jhuapl.edu wrote:
Can you please explain why it checks the thread reference for isAlive(), but performs no reference checks for join()/interrupt()/getStackTrace()?
Because I didn't have a good answer as to what should be done when calling join(), interrupt(), or getStackTrace() on a LispThread for a Java Thread that no longer exists, so throwing the null pointer exception seemed as valid as anything else. For isAlive() I felt the correct answer was to return false as the LispThread is clearly not alive if the Java Thread is gone. -Aaron
Good enough. :) Thanks.