On Thu, 5 Mar 2026 23:56:13 GMT, Phil Race <[email protected]> wrote:
>> 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.
>
> Phil Race has updated the pull request incrementally with one additional
> commit since the last revision:
>
> 8379229
src/java.desktop/share/classes/javax/swing/JComponent.java line 3534:
> 3532: @SuppressWarnings("serial")
> 3533: static class KeyboardState implements Serializable {
> 3534: private static final Object keyCodesKey =
guess this key can be removed
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/30060#discussion_r2893609906