changeset 23050:24d28d1eb7a9

8036568: Serial incompatibility in java.util.TreeMap.NavigableSubMap Reviewed-by: smarks
author darcy
date Tue, 04 Mar 2014 18:28:56 -0800
parents c66d7e7bcded
children 501d8479f798
files jdk/src/share/classes/java/util/TreeMap.java
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/jdk/src/share/classes/java/util/TreeMap.java	Tue Mar 04 15:33:30 2014 -0800
+++ b/jdk/src/share/classes/java/util/TreeMap.java	Tue Mar 04 18:28:56 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
@@ -1335,6 +1335,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.
          */