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

Account for race condition in java/nio/channels/AsynchronousSocketChannel/Basic.java

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Subcomponent:
    • Resolved In Build:
      b161

      Backports

        Description

        The test initiates a chain of writes to an AsynchronousSocketChannel and then attempts a single write outside of this chain which is expected to fail with a WritePendingException. It is possible however that the single write could be initiated between one of the chained writes causing the chain of writes to fail and resulting in a spurious error in the test.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  bpb Brian Burkhalter
                  Reporter:
                  bpb Brian Burkhalter
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: