changeset 9775:4b83227e1d5a

8036568: Serial incompatibility in java.util.TreeMap.NavigableSubMap Reviewed-by: smarks
author darcy
date Wed, 05 Mar 2014 16:52:28 -0800
parents 4bd68c1ffdec
children f883bdf2042b
files src/share/classes/java/util/TreeMap.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/java/util/TreeMap.java	Mon Mar 03 14:14:10 2014 -0800
+++ b/src/share/classes/java/util/TreeMap.java	Wed Mar 05 16:52:28 2014 -0800
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 2014, 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
@@ -1338,6 +1338,7 @@
      */
     abstract static class NavigableSubMap<K,V> extends AbstractMap<K,V>
         implements NavigableMap<K,V>, java.io.Serializable {
+        private static final long serialVersionUID = -2102997345730753016L;
         /**
          * The backing map.
          */