mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 11:04:34 +02:00
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:
parent
08304ada3c
commit
1b75b7de80
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue