< prev index next >

src/java.base/share/classes/java/util/Calendar.java

Print this page
rev 51570 : [mq]: 8210142

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 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
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -3325,10 +3325,11 @@
                 other.fields[i] = fields[i];
                 other.stamp[i] = stamp[i];
                 other.isSet[i] = isSet[i];
             }
             other.zone = (TimeZone) zone.clone();
+            other.sharedZone = false;
             return other;
         }
         catch (CloneNotSupportedException e) {
             // this shouldn't happen, since we are Cloneable
             throw new InternalError(e);
< prev index next >