> There are some remaining scattered uses of AppContext in AWT classes.
> src/java.desktop/share/classes/java/awt/EventDispatchThread.java
> src/java.desktop/share/classes/java/awt/KeyboardFocusManager.java
> src/java.desktop/share/classes/java/awt/SentEvent.java
> src/java.desktop/share/classes/java/awt/WaitDispatchSupport.java
> src/java.desktop/share/classes/sun/awt/EmbeddedFrame.java
> src/java.desktop/share/classes/sun/awt/GlobalCursorManager.java
> src/java.desktop/share/classes/sun/awt/KeyboardFocusManagerPeerImpl.java
> src/java.desktop/share/classes/sun/awt/PaintEventDispatcher.java
> src/java.desktop/share/classes/sun/font/SunFontManager.java
> Some are just references in comments as is the case in the last file
> 
> 
> 2 tests are removed as a result
> jdk/javax/swing/system/6799345/TestShutdown.java - NPE because main 
> appcontext not created.
> jdk/sun/awt/AppContext/8012933/Test8012933.java - calls AppContext.dispose() 
> which interrupts the EDT
> 
> Regarding the latter, see my comment in EventDispatchThread.java

Phil Race has updated the pull request incrementally with one additional commit 
since the last revision:

  8381020

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/30463/files
  - new: https://git.openjdk.org/jdk/pull/30463/files/df2c49e4..a3ace541

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=30463&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=30463&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/30463.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/30463/head:pull/30463

PR: https://git.openjdk.org/jdk/pull/30463

Reply via email to