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

SendDatagramToBadAddress.java and ChangingAddress.java should be changed to explicitly require the new DatagramSocket implementation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 16
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b09

      Description

      java/net/DatagramSocket/SendDatagramToBadAddress.java and java/nio/channels/DatagramChannel/ChangingAddress.java are fixed with the new implementation of DatagramSocket but they are known to fail on macOS with the old implementation.

      The tests should be updated to explicitly run with -Djdk.net.usePlainDatagramSocketImpl=false to avoid false failures when running all tests with a global jtreg -Djdk.net.usePlainDatagramSocketImpl switch.
                
      see JDK-7143960, JDK-7141822, and JDK-8241072

        Attachments

          Activity

            People

            Assignee:
            pconcannon Patrick Concannon
            Reporter:
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: