< prev index next >

src/java.base/share/classes/java/util/concurrent/ConcurrentLinkedDeque.java

Print this page
8197531: Miscellaneous changes imported from jsr166 CVS 2018-04
Reviewed-by: martin, psandoz

@@ -1669,9 +1669,9 @@
                                    Node.class);
             PREV = l.findVarHandle(Node.class, "prev", Node.class);
             NEXT = l.findVarHandle(Node.class, "next", Node.class);
             ITEM = l.findVarHandle(Node.class, "item", Object.class);
         } catch (ReflectiveOperationException e) {
-            throw new Error(e);
+            throw new ExceptionInInitializerError(e);
         }
     }
 }
< prev index next >