Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4961995

GenericConnectorServer: should not call Thread.interrupt

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.0.1
    • Component/s: core-svc
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.0.1
    • CPU:
      generic
    • OS:
      solaris_2.6

      Description

      GenericConnectorServer calls Thread.interrupt when stopping a thread which is used to recive new client connections. We cannot rely on this call becuase the method Thread.interrupt does not work on some platform like linux and windows when the thread is doing IO operation.
      In fact today the GenericConnectorServer will stop at first its underlyne transport and this will generate an IOException and this IOException will make the thread stop. So we can remove safely that Thread.interrupt call

        Attachments

          Activity

            People

            Assignee:
            sjiang Shanliang Jiang (Inactive)
            Reporter:
            sjiang Shanliang Jiang (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: