8244292: Headful clients failing with --illegal-access=deny

Reviewed-by: prr
This commit is contained in:
Alan Bateman 2020-05-04 19:07:41 +01:00
parent 90e8a0a3db
commit 0efacb3eed
4 changed files with 8 additions and 6 deletions
test/jdk
com/sun/java/swing/plaf/windows
java/awt
Toolkit/DisplayChangesException
event/SequencedEvent
javax/accessibility/6714324

@ -1,5 +1,5 @@
/*
* Copyright (c) 2017, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2017, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -41,7 +41,7 @@ import javax.swing.plaf.FontUIResource;
* @summary tests if the desktop property changes this will force the UIs to
* update all known Frames
* @requires (os.family == "windows")
* @modules java.desktop/sun.awt
* @modules java.desktop/java.awt:open java.desktop/sun.awt
*/
public final class RevalidateOnPropertyChange {

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -39,6 +39,7 @@ import sun.awt.SunToolkit;
* @bug 8207070
* @modules java.desktop/sun.java2d
* java.desktop/sun.awt
* java.desktop/sun.awt.windows:open
*/
public final class DisplayChangesException {

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -35,7 +35,7 @@ import sun.awt.SunToolkit;
* @bug 8204142
* @author Sergey Bylokhov
* @key headful
* @modules java.desktop/sun.awt
* @modules java.desktop/java.awt:open java.desktop/sun.awt
* @run main/othervm/timeout=30 MultipleContextsUnitTest
*/
public final class MultipleContextsUnitTest {

@ -1,5 +1,5 @@
/*
* Copyright (c) 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2018, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -26,6 +26,7 @@
* @bug 6714324
* @summary tests if removing a Tab from JTabbedComponent, clears the reference
* to the Page (AccessibleContext) object.
* @modules java.desktop/java.awt:open
* @run main TabbedPaneMemLeak
*/
import javax.accessibility.Accessible;