RFR: 8037384: Fix wording in Javadoc of java.io.Serializable [v2]

Stuart Marks smarks at openjdk.java.net
Thu Nov 19 23:36:21 UTC 2020


On Thu, 19 Nov 2020 17:11:04 GMT, Chris Hegarty <chegar at openjdk.org> wrote:

>> Stuart Marks has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   non-serializable classes => non-serializable superclasses
>
> src/java.base/share/classes/java/io/Serializable.java line 50:
> 
>> 48:  * fields of non-serializable classes. During deserialization, the fields of
>> 49:  * non-serializable classes will be initialized using the no-arg constructor of
>> 50:  * the class. This constructor must be accessible to the subclass that is being
> 
> .. of the first non-serializable superclass.

I updated these to say "superclasses" plus a bit of other minor adjustment.

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

PR: https://git.openjdk.java.net/jdk/pull/1306


More information about the core-libs-dev mailing list