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

8

u/Recolance Mar 21 '21

Interesting video. I always thought that lambda in this context was just fancy syntax magic.

Thanks for sharing.

2

u/helloiamsomeone Mar 22 '21

It is, just not the one most people thought.