You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by je...@jakarta.apache.org on 2004/07/15 04:17:40 UTC

[jira] Resolved: (JS1-496) [FIX] incorrect use of Thread.interrupted in ThreadGroupJoin.java

Message:

   The following issue has been resolved as FIXED.

   Resolver: Jeremy Ford
       Date: Wed, 14 Jul 2004 7:17 PM

Fix applied
---------------------------------------------------------------------
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: Resolved
   Priority: Minor
 Resolution: FIXED

    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:17 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: jetspeed-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-dev-help@jakarta.apache.org