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

(ch) DatagramChannelImpl should set/clear reader/writerThread within stateLock

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P4
    • None
    • 9
    • core-libs
    • None

    Description

      In DatagramChannelImpl readerThread and writerThread are set and cleared without holding the stateLock. This situation should be examined with the implementation in SocketChannelImpl as a reference. The code in ServerSocketChannelImpl should be considered as well.

      Attachments

        Issue Links

          Activity

            People

              alanb Alan Bateman
              bpb Brian Burkhalter
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: