--- old/src/java.base/share/classes/java/io/InvalidClassException.java 2019-11-27 06:27:38.412000000 -0800 +++ new/src/java.base/share/classes/java/io/InvalidClassException.java 2019-11-27 06:27:38.172000000 -0800 @@ -33,6 +33,10 @@ * descriptor read from the stream *
  • The class contains unknown datatypes *
  • The class does not have an accessible no-arg constructor + *
  • The ObjectStreamClass of an enum constant does not represent + * an enum type + *
  • Other conditions given in the Java Object Serialization + * Specification * * * @author unascribed