< prev index next >

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

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

@@ -3410,9 +3410,9 @@
                                     LongAdder.class);
             NEXT = l.findVarHandle(Node.class, "next", Node.class);
             VAL = l.findVarHandle(Node.class, "val", Object.class);
             RIGHT = l.findVarHandle(Index.class, "right", Index.class);
         } catch (ReflectiveOperationException e) {
-            throw new Error(e);
+            throw new ExceptionInInitializerError(e);
         }
     }
 }
< prev index next >