Remove AppContext from JComponent. One obsolete test is removed. The data files used by BadSerializationTest.java needed to be updated because they contain serialized versions of JComponent which now has a different calculated serialVersionUID due to new static variables added by this change. Swing does not support serialisation compatibility across releases so these .ser files are a bit of an oddity as they require maintenance in cases like this.
------------- Commit messages: - 8379229 Changes: https://git.openjdk.org/jdk/pull/30060/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=30060&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8379229 Stats: 141 lines in 8 files changed: 4 ins; 123 del; 14 mod Patch: https://git.openjdk.org/jdk/pull/30060.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/30060/head:pull/30060 PR: https://git.openjdk.org/jdk/pull/30060
