RFR[8246143]: 'UnreferencedXXX tests fail when run with --illegal-access=deny'
Alan Bateman
Alan.Bateman at oracle.com
Thu Jun 11 09:52:08 UTC 2020
On 11/06/2020 10:35, Conor Cleary wrote:
> Hi,
>
> Could someone please take a look at my webrev for JDK-8246143:
> 'UnreferencedXXX tests fail when run with --illegal-access=deny'?
>
> This patch addresses test failures with
> test/jdk/java/net/DatagramSocket/UnreferencedDatagramSockets.java and
> test/jdk/java/net/MulticastSocket/UnreferencedMulticastSockets.java
> when run with --illegal-access=deny.
>
> This revision addresses this failure in both tests by adding
> java.base/sun.nio.ch:+open to the modules tag. An additional test run
> is also with the --illegal-access=deny configuration set.
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8246143
> webrev:
> http://cr.openjdk.java.net/~pconcannon/ccleary/8246143/webrevs/webrev.00/
Thanks for taking this one. No need for the additional run with
--illegal-access=deny as that will be the default (we've changed many
other tests in preparation for this change btw).
-Alan.
More information about the net-dev
mailing list