portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jetspeed-...@jakarta.apache.org
Subject [jira] Resolved: (JS1-496) [FIX] incorrect use of Thread.interrupted in ThreadGroupJoin.java
Date Thu, 15 Jul 2004 02:17:40 GMT
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


Mime
View raw message