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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P5 P5
    • 16
    • None
    • core-libs
    • b09

      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

            pconcannon Patrick Concannon (Inactive)
            dfuchs Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: