<AWT Dev> [10] Review request for 8189201: [macosx] NotSerializableException during JFrame with MenuBar serialization
Sergey Bylokhov
Sergey.Bylokhov at oracle.com
Fri Oct 20 20:57:51 UTC 2017
Hi, Semyon.
The AquaMenuBarBorder class is L&F specific, and it should not be
serialized/deserialized. Such information(plus l&f client
properties/listeners/etc) should be removed from the component before
serialization. And during deserialization the L&F of the target system
should be applied.
On 20/10/2017 13:08, Semyon Sadetsky wrote:
> Hello,
>
> Please review fix for JDK10:
>
> bug: https://bugs.openjdk.java.net/browse/JDK-8189201
>
> webrev: http://cr.openjdk.java.net/~ssadetsky/8189201/webrev.00
>
> The root cause is that several JFrame fields contain non-serializable
> class instances. The fix marks those classes as serializable.
>
> --Semyon
>
--
Best regards, Sergey.
More information about the awt-dev
mailing list