JDK 12 RFR of 5075463 : (enum) Serialized Form javadoc for java.lang.Enum is misleading

joe darcy joe.darcy at oracle.com
Wed Aug 15 17:42:43 UTC 2018


Hi Roger,

Filed JDK-8209542: "Serialization discussion of enum types should 
mention java.lang.Enum."

Thanks for the review,

-Joe


On 8/15/2018 6:20 AM, Roger Riggs wrote:
> Hi Joe,
>
> This change looks fine as the spec for serializing Enum's is in OIS 
> and OOS.
>
> However, the spec for serializing Enum's in ObjectInputStream and 
> ObjectOutputStream is incomplete.
> It does not mention that the class of the Enum is written to the 
> stream before the enum name.
> Please file an issue for that.
>
> Regards, Roger
>
>
> On 8/15/18 7:27 AM, Lance Andersen wrote:
>> Hi Joe,
>>
>> Added myself as a reviewer to the CSR and the change looks fine
>>
>> On Aug 14, 2018, at 11:59 PM, joe darcy <joe.darcy at oracle.com> wrote:
>>
>>> https://bugs.openjdk.java.net/browse/JDK-8209524
>>
>>
>>
>> Lance Andersen| Principal Member of Technical Staff | +1.781.442.2037
>> Oracle Java Engineering
>> 1 Network Drive
>> Burlington, MA 01803
>> Lance.Andersen at oracle.com
>>
>>
>>
>>
>



More information about the core-libs-dev mailing list