<AWT Dev> 8244292: Headful clients failing with --illegal-access=deny

Alan Bateman Alan.Bateman at oracle.com
Mon May 4 15:23:02 UTC 2020


I ran the headful tests with --illegal-access=deny to shake out any 
issues in advance of changing the default in the future. There are 4 
tests that need their @modules tags updated because the tests access 
non-public members of classes in exported packages or members of classes 
in concealed packages:

java/awt/Toolkit/DisplayChangesException/DisplayChangesException.java
java/awt/event/SequencedEvent/MultipleContextsUnitTest.java
javax/accessibility/6714324/TabbedPaneMemLeak.java
com/sun/java/swing/plaf/windows/RevalidateOnPropertyChange.java

I've created JDK-8244292 [1] to track the issue and the patch to fix the 
issues is attached to the bug:
https://bugs.openjdk.java.net/secure/attachment/87984/client-tests.patch

The dates in the copyright headers isn't updated in the patch, I'll do 
that before pushing once the changes are reviewed.

-Alan

[1] https://bugs.openjdk.java.net/browse/JDK-8244292


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/awt-dev/attachments/20200504/5f606566/attachment.htm>


More information about the awt-dev mailing list