jdk/src/share/classes/java/util/TreeMap.java
changeset 10419 12c063b39232
parent 9035 1255eb81cc2f
child 12448 b95438b17098
equal deleted inserted replaced
10418:1d57022fdb6e 10419:12c063b39232
   620     public Object clone() {
   620     public Object clone() {
   621         TreeMap<K,V> clone = null;
   621         TreeMap<K,V> clone = null;
   622         try {
   622         try {
   623             clone = (TreeMap<K,V>) super.clone();
   623             clone = (TreeMap<K,V>) super.clone();
   624         } catch (CloneNotSupportedException e) {
   624         } catch (CloneNotSupportedException e) {
   625             throw new InternalError();
   625             throw new InternalError(e);
   626         }
   626         }
   627 
   627 
   628         // Put clone into "virgin" state (except for comparator)
   628         // Put clone into "virgin" state (except for comparator)
   629         clone.root = null;
   629         clone.root = null;
   630         clone.size = 0;
   630         clone.size = 0;