Use ExceptionCheck instead Removed dead code -------------
Commit messages: - JDK-8341790: Fix ExceptionOccurred in java.desktop - JDK-8341790: Fix ExceptionOccurred in java.desktop Changes: https://git.openjdk.org/jdk/pull/21981/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21981&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8341790 Stats: 96 lines in 27 files changed: 0 ins; 20 del; 76 mod Patch: https://git.openjdk.org/jdk/pull/21981.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/21981/head:pull/21981 PR: https://git.openjdk.org/jdk/pull/21981
