SocketConnection.checkState method bugged

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.0
    • 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

            Assignee:
            Shanliang Jiang (Inactive)
            Reporter:
            Sandra Lions-piron
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: