ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/jsr166/jsr166/src/main/java/util/concurrent/Executors.java
(Generate patch)

Comparing jsr166/src/main/java/util/concurrent/Executors.java (file contents):
Revision 1.22 by dl, Sat Nov 1 18:36:04 2003 UTC vs.
Revision 1.23 by dl, Fri Nov 7 12:19:35 2003 UTC

# Line 322 | Line 322 | public class Executors {
322       * be the same as the thread invoking this
323       * <tt>privilegedThreadFactory</tt> method.  A new
324       * <tt>privilegedThreadFactory</tt> can be created within an
325 <     * {@link AccessController#doPrivileged} action  to create
326 <     * threads with the selected permission settings holding within
327 <     * that action.  Alternatively, a factory can be used to create
328 <     * threads with any available access control context by first
329 <     * setting them in the current thread, and then invoking this
330 <     * method.
325 >     * {@link AccessController#doPrivileged} action setting the
326 >     * current threads access control context to create threads with
327 >     * the selected permission settings holding within that action.
328       *
329       * <p> Note that while tasks running within such threads will have
330       * the same access control and class loader settings as the

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines