-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 1.0
-
Component/s: core-svc
-
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