IllegalMonitorStateException when waiting for a command to finish

前端 未结 0 450
攒了一身酷
攒了一身酷 2020-11-29 10:41

when running a os command it throws illegal monitored state exception every time on p.wait(). I tried to use a syncraized block on p but, then it sits there forever if you u

相关标签:
回答
  • 消灭零回复
提交回复
热议问题