<Swing Dev> Integrated: 8256376: The javax/swing/JSpinner/SerializationTest.java fails on headful windows
Sergey Bylokhov
serb at openjdk.java.net
Mon Nov 16 23:18:03 UTC 2020
On Mon, 16 Nov 2020 20:01:49 GMT, Sergey Bylokhov <serb at openjdk.org> wrote:
> The Windows L&F uses the windows specific class XPStyle as part of the border in the JSpinner. This class cannot be serialized and causes an exception during serialization. The root cause is that BasicSpinnerUI forgot to reset the border in uninstallUI() by the LookAndFeel.uninstallBorder(). I have found one more place where the LookAndFeel.installBorder() is not followed by the LookAndFeel.uninstallBorder() in the AquaSpinnerUI.
This pull request has now been integrated.
Changeset: 36dbe6f2
Author: Sergey Bylokhov <serb at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/36dbe6f2
Stats: 112 lines in 3 files changed: 88 ins; 4 del; 20 mod
8256376: The javax/swing/JSpinner/SerializationTest.java fails on headful windows
Reviewed-by: aivanov
-------------
PR: https://git.openjdk.java.net/jdk/pull/1234
More information about the swing-dev
mailing list