8234781: Update description of InvalidClassException to include more conditions

Reviewed-by: alanb, chegar
This commit is contained in:
Joe Darcy 2019-11-27 06:36:41 -08:00
parent 725449932b
commit 6cd20759b6

View File

@ -33,6 +33,10 @@ package java.io;
* descriptor read from the stream
* <LI> The class contains unknown datatypes
* <LI> The class does not have an accessible no-arg constructor
* <LI> The ObjectStreamClass of an enum constant does not represent
* an enum type
* <LI> Other conditions given in the <cite>Java Object Serialization
* Specification</cite>
* </UL>
*
* @author unascribed