# | Line 470 | Line 470 | public class FutureTask<V> implements Ru | |
---|---|---|
470 | } catch (Exception e) { | |
471 | throw new Error(e); | |
472 | } | |
473 | + | |
474 | + | // Reduce the risk of rare disastrous classloading in first call to |
475 | + | // LockSupport.park: https://bugs.openjdk.java.net/browse/JDK-8074773 |
476 | + | Class<?> ensureLoaded = LockSupport.class; |
477 | } | |
478 | ||
479 | } |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |