Why wait/notify methods should be written in synchronized code blocks?

NoSuchKey

Guess you like

Origin juejin.im/post/7085270494672322574