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

This patch updates the @modules tag with +open in the tests UnreferencedDatagramSockets and UnreferncedMulticastSockets in advance of the removal of --illegal-access to allow access to private member fields required by the tests.

Reviewed-by: alanb, dfuchs
This commit is contained in:
Conor Cleary 2020-06-12 09:48:30 +01:00 committed by Patrick Concannon
parent 08304ada3c
commit 1b75b7de80
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,7 @@
* @test
* @library /test/lib
* @modules java.management java.base/java.io:+open java.base/java.net:+open
* java.base/sun.net
* java.base/sun.net java.base/sun.nio.ch:+open
* @run main/othervm -Djava.net.preferIPv4Stack=true UnreferencedMulticastSockets
* @run main/othervm -Djdk.net.usePlainDatagramSocketImpl UnreferencedMulticastSockets
* @run main/othervm UnreferencedMulticastSockets