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

Comparing jsr166/src/main/java/util/concurrent/ForkJoinWorkerThread.java (file contents):
Revision 1.77 by dl, Thu Dec 13 14:17:33 2018 UTC vs.
Revision 1.78 by dl, Thu Dec 13 15:56:09 2018 UTC

# Line 207 | Line 207 | public class ForkJoinWorkerThread extend
207  
208          @Override // paranoically
209          public void setContextClassLoader(ClassLoader cl) {
210 <            if (cl != null && !ClassLoader.getSystemClassLoader().equals(cl))
210 >            if (cl != null && ClassLoader.getSystemClassLoader() != cl)
211                  throw new SecurityException("setContextClassLoader");
212          }
213      }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines