--- a/src/java.base/share/classes/java/lang/Enum.java Wed Nov 20 08:12:14 2019 +0800
+++ b/src/java.base/share/classes/java/lang/Enum.java Tue Nov 19 16:26:58 2019 -0800
@@ -47,6 +47,13 @@
* found in section 8.9 of
* <cite>The Java™ Language Specification</cite>.
*
+ * Enumeration types are all serializable and receive special handling
+ * by the serialization mechanism. The serialized representation used
+ * for enum constants cannot be customized. Declarations of methods
+ * and fields that would otherwise interact with serialization are
+ * ignored, including {@code serialVersionUID}; see the <cite>Java
+ * Object Serialization Specification</cite> for details.
+ *
* <p> Note that when using an enumeration type as the type of a set
* or as the type of the keys in a map, specialized and efficient
* {@linkplain java.util.EnumSet set} and {@linkplain