https://wangxinchun.iteye.com/blog/1801057 synchronized 获取的锁,在方法抛出异常的时候会自动解锁 sy 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交