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

GenericConnectorServer: should not call Thread.interrupt

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P5
    • 1.0.1
    • 1.0
    • core-svc
    • 1.0.1
    • generic
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: