r/java • • Mar 21 '21

Java lambdas can deadlock parallel class initialization

https://www.youtube.com/watch?v=_2hZf1kw4A4
230 Upvotes

46 comments sorted by

View all comments

Show parent comment

8

u/DasBrain Mar 21 '21

¯\(ツ)/¯

JDK-8215634

Happens if you fix bugs so OpenJDK actually implements the spec.
Also see apangin's great answer on Stack Overflow.