On Wed, 4 Mar 2026 19:39:05 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.

src/java.desktop/share/classes/javax/swing/JComponent.java line 3539:

> 3537:         // Get the array of key codes
> 3538:         static IntVector getKeyCodeArray() {
> 3539:             return intVector;

This wrapper can be dropped now?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/30060#discussion_r2892959469

Reply via email to