wait方法会释放同步块里的所有锁么?
示例代码public class TestMain { //对象锁一 private static Object lock1 = new Object(); //对象锁二 private static Object lock2 = new Object(); public static void main(String[] args) throws ...