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

UnreferencedXXX tests fail when run with --illegal-access=deny

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b02

      Description

      test/jdk/java/net/DatagramSocket/UnreferencedDatagramSockets.java and
      test/jdk/java/net/MulticastSocket/UnreferencedMulticastSockets.java need to be fixed in advance of disallowing illegal access by default.

      These tests hack into private members such as DatagramSocket.delegate, DatagramChannelImpl.fd so so need to have their test description updated with `@modules java.base/java.net:+open sun.nio.ch:+open`.

        Attachments

          Activity

            People

            Assignee:
            ccleary Conor Cleary (Inactive)
            Reporter:
            alanb Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: