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

    • Bug
    • Status: Resolved
    • P5
    • Resolution: Fixed
    • None
    • 16
    • core-libs
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: