On Tue, 12 Jan 2021 20:42:18 GMT, Sergey Bylokhov wrote:
>> Please review the application of @java.io.Serial annotation (JDK-8202385) to
>> types in the desktop module to enable stricter compile-time checking of
>> serialization-related declarations.
>>
>> This annotation can be applied to the
On Wed, 13 Jan 2021 06:10:53 GMT, Prasanta Sadhukhan
wrote:
> Why do we add serialVersionUID in some classes like
> DefaultMutableTreeNode.java but not in other swing classes?
Most Swing classes are marked by the specific "Warning" that "Same-version
serialization only" is supported. (I think
On Tue, 12 Jan 2021 20:42:18 GMT, Sergey Bylokhov wrote:
>> Please review the application of @java.io.Serial annotation (JDK-8202385) to
>> types in the desktop module to enable stricter compile-time checking of
>> serialization-related declarations.
>>
>> This annotation can be applied to the
On Tue, 12 Jan 2021 20:36:21 GMT, Sergey Bylokhov wrote:
>> src/java.desktop/share/classes/com/sun/media/sound/InvalidDataException.java
>> line 42:
>>
>>> 40: */
>>> 41: @Serial
>>> 42: private static final long serialVersionUID = 1L;
>>
>> This is the standard wording, yet shoul
> Please review the application of @java.io.Serial annotation (JDK-8202385) to
> types in the desktop module to enable stricter compile-time checking of
> serialization-related declarations.
>
> This annotation can be applied to these methods in the module:
>
> private void writeObject(java
On Tue, 12 Jan 2021 11:29:24 GMT, Alexey Ivanov wrote:
>> Sergey Bylokhov has updated the pull request incrementally with two
>> additional commits since the last revision:
>>
>> - Update
>> src/java.desktop/share/classes/java/awt/image/ImagingOpException.java
>>
>>Co-authored-by: Ale
On Mon, 11 Jan 2021 06:21:52 GMT, Sergey Bylokhov wrote:
> Please review the application of @java.io.Serial annotation (JDK-8202385) to
> types in the desktop module to enable stricter compile-time checking of
> serialization-related declarations.
>
> This annotation can be applied to these me
Please review the application of @java.io.Serial annotation (JDK-8202385) to
types in the desktop module to enable stricter compile-time checking of
serialization-related declarations.
This annotation can be applied to these methods in the module:
private void writeObject(java.io.ObjectOutp