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

java/nio/channels/DatagramChannel/SRTest.java fails intermittently

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b18

      Description

      This test has been observed failing intermittently in the CI.

      It has several potential sources of instability:

      - The test runs in AgentVM mode
      - Receiver binds to the wildcard, sender sends to getLocalHost()
        (using wildcard/localhost instead of loopback/loopback has been a source of instability in the past)
      - Sockets are not closed properly if an exception happens
      - Publication of instance variables is not always Multi Thread safe
        (would require volatile or other means of synchronization)
      - If the sender fails to send, the test will get wedged forever.
      - Possibly better exception logging


        Attachments

          Issue Links

            Activity

              People

              Assignee:
              ccleary Conor Cleary (Inactive)
              Reporter:
              dfuchs Daniel Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: