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

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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: