static-thread this is a problem.I don't know how to solve.And what's the problem cause. java - Why main thread not wake up? - Stack Overflow