This removes most uses of AWTPermission in the desktop module. clipboard will be handled separately because it is less straightforward.
------------- Commit messages: - 8344667 - src/java.desktop/macosx/classes/sun/awt/CGraphicsDevice.java Changes: https://git.openjdk.org/jdk/pull/22350/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=22350&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8344667 Stats: 312 lines in 21 files changed: 0 ins; 306 del; 6 mod Patch: https://git.openjdk.org/jdk/pull/22350.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/22350/head:pull/22350 PR: https://git.openjdk.org/jdk/pull/22350