my code:
@Override
public void onClose(int code, String reason, boolean remote) {
this.reconnect();
System.out.println("123");
}
by debug, I find program will block in LockSupport.java
public static void park(Object blocker) {
Thread t = Thread.currentThread();
setBlocker(t, blocker);
UNSAFE.park(false, 0L);
setBlocker(t, null);
}
Did my usage is wrong?Or Bug?
My English is not good,Sorry.
my code:
by debug, I find program will block in LockSupport.java
Did my usage is wrong?Or Bug?
My English is not good,Sorry.