-
Bug
-
Resolution: Fixed
-
P4
-
1.0
-
None
-
1.0
-
generic
-
generic
-
Verified
Here after the code:
while (state != CONNECTED || state != TERMINATED || waitingTime > 0) {
try {
stateLock.wait(waitingTime);
} catch (InterruptedException ire) {
break;
}
waitingTime = endTime - System.currentTimeMillis();
}
should be
while (state != CONNECTED && state != TERMINATED && waitingTime > 0) {
...
###@###.### 2003-09-17
while (state != CONNECTED || state != TERMINATED || waitingTime > 0) {
try {
stateLock.wait(waitingTime);
} catch (InterruptedException ire) {
break;
}
waitingTime = endTime - System.currentTimeMillis();
}
should be
while (state != CONNECTED && state != TERMINATED && waitingTime > 0) {
...
###@###.### 2003-09-17