< prev index next >

src/java.base/share/classes/java/util/concurrent/locks/StampedLock.java

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

*** 1612,1620 **** WTAIL = l.findVarHandle(StampedLock.class, "wtail", WNode.class); WSTATUS = l.findVarHandle(WNode.class, "status", int.class); WNEXT = l.findVarHandle(WNode.class, "next", WNode.class); WCOWAIT = l.findVarHandle(WNode.class, "cowait", WNode.class); } catch (ReflectiveOperationException e) { ! throw new Error(e); } } } --- 1612,1620 ---- WTAIL = l.findVarHandle(StampedLock.class, "wtail", WNode.class); WSTATUS = l.findVarHandle(WNode.class, "status", int.class); WNEXT = l.findVarHandle(WNode.class, "next", WNode.class); WCOWAIT = l.findVarHandle(WNode.class, "cowait", WNode.class); } catch (ReflectiveOperationException e) { ! throw new ExceptionInInitializerError(e); } } }
< prev index next >