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

Comparing jsr166/src/main/java/util/concurrent/ForkJoinPool.java (file contents):
Revision 1.346 by dl, Sun Feb 18 21:31:55 2018 UTC vs.
Revision 1.347 by jsr166, Sun Mar 11 18:00:06 2018 UTC

# Line 1141 | Line 1141 | public class ForkJoinPool extends Abstra
1141                  BASE = l.findVarHandle(WorkQueue.class, "base", int.class);
1142                  TOP = l.findVarHandle(WorkQueue.class, "top", int.class);
1143              } catch (ReflectiveOperationException e) {
1144 <                throw new Error(e);
1144 >                throw new ExceptionInInitializerError(e);
1145              }
1146          }
1147      }
# Line 3144 | Line 3144 | public class ForkJoinPool extends Abstra
3144              MODE = l.findVarHandle(ForkJoinPool.class, "mode", int.class);
3145              QA = MethodHandles.arrayElementVarHandle(ForkJoinTask[].class);
3146          } catch (ReflectiveOperationException e) {
3147 <            throw new Error(e);
3147 >            throw new ExceptionInInitializerError(e);
3148          }
3149  
3150          // Reduce the risk of rare disastrous classloading in first call to

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines