Remove AppContext from the X11 XWindow implementation class.
Also removed a remaining import in XToolkit.

A test that uses AppContext started to fail on Linux.
It looks like it still proves something useful even without an AppContext, so I 
did some minimal updating to remove AppContext and clean it up, and it passes.

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

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

Commit messages:
 - 8384215

Changes: https://git.openjdk.org/jdk/pull/31104/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=31104&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8384215
  Stats: 52 lines in 3 files changed: 20 ins; 6 del; 26 mod
  Patch: https://git.openjdk.org/jdk/pull/31104.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/31104/head:pull/31104

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

Reply via email to