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 |
|
} |
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 |