[ 
https://issues.apache.org/jira/browse/RIVER-93?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Peter Firmstone closed RIVER-93.
--------------------------------
    Resolution: Won't Fix

Java 1.4 is no longer supported.

> add InterruptThreadAction utility
> ---------------------------------
>
>                 Key: RIVER-93
>                 URL: https://issues.apache.org/jira/browse/RIVER-93
>             Project: River
>          Issue Type: New Feature
>          Components: com_sun_jini_action
>    Affects Versions: jtsk_2.0
>            Reporter: Juan Ramirez
>            Priority: Minor
>
> Bugtraq ID [854295| http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=854295 
> ]
> As much as the submitter is skeptical of the general use of thread 
> interrupts, it seems that there are enough places in which setting a thread's 
> interrupted status (including the current thread's) is justified-- and in 
> which a *.doPrivileged is likely to be necessary-- that another convenience 
> PrivilegedAction class in the com.sun.jini.action package for invoking a 
> Thread's interrupt() method might be useful.
> Note that since J2SE 5.0, Thread.interrupt() is specified to NOT require a 
> permission to interrupt the current thread-- therefore, code written to 
> depend on 5.0 or later no longer needs a doPrivileged block to interrupt the 
> current thread, presumably making this utility less needed.
> Seems useful, although not required for GA.  Should this be in 
> com.sun.jini.action or com.sun.jini.thread?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to