jdk/src/share/classes/java/util/TreeMap.java
changeset 493 b8102e80be10
parent 2 90ce3da70b43
child 2428 e63d91602813
--- a/jdk/src/share/classes/java/util/TreeMap.java	Sat May 10 11:30:53 2008 -0700
+++ b/jdk/src/share/classes/java/util/TreeMap.java	Sat May 10 11:49:25 2008 -0700
@@ -1,5 +1,5 @@
 /*
- * Copyright 1997-2007 Sun Microsystems, Inc.  All Rights Reserved.
+ * Copyright 1997-2008 Sun Microsystems, Inc.  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
@@ -1021,7 +1021,7 @@
     }
 
     Iterator<K> descendingKeyIterator() {
-        return new DescendingKeyIterator(getFirstEntry());
+        return new DescendingKeyIterator(getLastEntry());
     }
 
     static final class KeySet<E> extends AbstractSet<E> implements NavigableSet<E> {