Since AppContext is obsolete, we can bypass it and directly post the shutdown 
event, and remove the now dead code.

---------
- [x] I confirm that I make this contribution in accordance with the [OpenJDK 
Interim AI Policy](https://openjdk.org/legal/ai).

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

Commit messages:
 - 8384209

Changes: https://git.openjdk.org/jdk/pull/31101/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31101&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8384209
  Stats: 42 lines in 2 files changed: 1 ins; 38 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/31101.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/31101/head:pull/31101

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

Reply via email to