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.95 by jsr166, Tue Oct 13 20:20:05 2015 UTC vs.
Revision 1.96 by jsr166, Sat Oct 8 18:18:44 2016 UTC

# Line 621 | Line 621 | public class Executors {
621          public Thread newThread(final Runnable r) {
622              return super.newThread(new Runnable() {
623                  public void run() {
624 <                    AccessController.doPrivileged(new PrivilegedAction<Void>() {
624 >                    AccessController.doPrivileged(new PrivilegedAction<>() {
625                          public Void run() {
626                              Thread.currentThread().setContextClassLoader(ccl);
627                              r.run();

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines