5075463: (enum) Serialized Form javadoc for java.lang.Enum is misleading
authordarcy
Wed, 15 Aug 2018 10:44:56 -0700
changeset 51413 43e41800d579
parent 51412 8f7e3f9ddbc0
child 51414 b05b839160a3
5075463: (enum) Serialized Form javadoc for java.lang.Enum is misleading Reviewed-by: lancea, rriggs, smarks
src/java.base/share/classes/java/lang/Enum.java
--- a/src/java.base/share/classes/java/lang/Enum.java	Wed Aug 15 10:16:15 2018 -0700
+++ b/src/java.base/share/classes/java/lang/Enum.java	Wed Aug 15 10:44:56 2018 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2003, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2003, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
@@ -45,6 +45,7 @@
  * java.util.EnumMap map} implementations are available.
  *
  * @param <E> The enum type subclass
+ * @serial exclude
  * @author  Josh Bloch
  * @author  Neal Gafter
  * @see     Class#getEnumConstants()