changeset 51413:43e41800d579

5075463: (enum) Serialized Form javadoc for java.lang.Enum is misleading Reviewed-by: lancea, rriggs, smarks
author darcy
date Wed, 15 Aug 2018 10:44:56 -0700
parents 8f7e3f9ddbc0
children b05b839160a3
files src/java.base/share/classes/java/lang/Enum.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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()