# | Line 1120 | Line 1120 | public class Phaser { | |
---|---|---|
1120 | } catch (ReflectiveOperationException e) { | |
1121 | throw new Error(e); | |
1122 | } | |
1123 | + | |
1124 | + | // Reduce the risk of rare disastrous classloading in first call to |
1125 | + | // LockSupport.park: https://bugs.openjdk.java.net/browse/JDK-8074773 |
1126 | + | Class<?> ensureLoaded = LockSupport.class; |
1127 | } | |
1128 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |