The following issue has been updated:

    Updater: Jeremy Ford (mailto:[EMAIL PROTECTED])
       Date: Wed, 14 Jul 2004 7:16 PM
    Changes:
             summary changed from incorrect use of Thread.interrupted in 
ThreadGroupJoin.java to [FIX] incorrect use of Thread.interrupted in 
ThreadGroupJoin.java
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/JS1-496?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/JS1-496

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: JS1-496
    Summary: [FIX] incorrect use of Thread.interrupted in ThreadGroupJoin.java
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Jetspeed
 Components: 
             Miscellaneous
   Fix Fors:
             1.6-dev
   Versions:
             1.5

   Assignee: 
   Reporter: Dan Price

    Created: Wed, 30 Jun 2004 12:39 PM
    Updated: Wed, 14 Jul 2004 7:16 PM
Environment: WebSphere Studio Application Developer, WAS 5.1 test environment

Description:
org.apache.jetspeed.daemon.impl.util.ThreadGroupJoin has a line that attempts to 
determine the interrupt status of an entry in an array of Threads:

if ( !threads[i].interrupted() )

Thread.interrupted() is a static method that only checks the status of the current 
thread.  The correct syntax should be:

if ( !threads[i].isInterrupted() )



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to