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

Comparing jsr166/src/main/java/util/concurrent/ForkJoinTask.java (file contents):
Revision 1.145 by dl, Mon Nov 9 14:10:36 2020 UTC vs.
Revision 1.146 by jsr166, Thu Nov 12 22:54:33 2020 UTC

# Line 1349 | Line 1349 | public abstract class ForkJoinTask<V> im
1349          int trySetException(Throwable ex) { // if a handler, invoke it
1350              int s; Thread t; java.lang.Thread.UncaughtExceptionHandler h;
1351              if (isExceptionalStatus(s = trySetThrown(ex)) &&
1352 <                (h = ((t = Thread.currentThread()).
1353 <                      getUncaughtExceptionHandler())) != null) {
1354 <                try {
1355 <                    h.uncaughtException(t, ex);
1356 <                } catch (Throwable ignore) {
1357 <                }
1358 <            }
1352 >                (h = ((t = Thread.currentThread()).
1353 >                      getUncaughtExceptionHandler())) != null) {
1354 >                try {
1355 >                    h.uncaughtException(t, ex);
1356 >                } catch (Throwable ignore) {
1357 >                }
1358 >            }
1359              return s;
1360          }
1361          private static final long serialVersionUID = 5232453952276885070L;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines