RFR: 8256376: The javax/swing/JSpinner/SerializationTest.java fails on headful windows

2020-11-16 Thread Sergey Bylokhov
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 h

Re: RFR: 8256376: The javax/swing/JSpinner/SerializationTest.java fails on headful windows

2020-11-16 Thread Sergey Bylokhov
On Mon, 16 Nov 2020 20:01:49 GMT, Sergey Bylokhov 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 > th

Re: RFR: 8256376: The javax/swing/JSpinner/SerializationTest.java fails on headful windows

2020-11-16 Thread Alexey Ivanov
On Mon, 16 Nov 2020 20:01:49 GMT, Sergey Bylokhov 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 > th

Integrated: 8256376: The javax/swing/JSpinner/SerializationTest.java fails on headful windows

2020-11-16 Thread Sergey Bylokhov
On Mon, 16 Nov 2020 20:01:49 GMT, Sergey Bylokhov 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 > th

Re: RFR: 8251377: [macos11] JTabbedPane selected tab text is barely legible

2020-11-16 Thread Prasanta Sadhukhan
On Fri, 13 Nov 2020 23:17:30 GMT, Sergey Bylokhov wrote: > SystemColors/LWCToolkit#loadNativeColors are for sure works on macOS it is > responsible for the text selection color for example. I could not find how loadNativeColors() is used/works because only place I see it is called in macos is i