RFR[8246143]: 'UnreferencedXXX tests fail when run with --illegal-access=deny'

Daniel Fuchs daniel.fuchs at oracle.com
Thu Jun 11 09:41:20 UTC 2020


Looks good to me Conor!

best regards,

-- daniel

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/
> 
> 
> Regards,
> Conor
> 



More information about the net-dev mailing list