TreeMap.navigableKeySet().descendingIterator() sequence ?

Doug Lea dl at
Sat Apr 19 15:12:34 UTC 2008

Martin Buchholz wrote:
> Yes, sad to say, looks like a serious and embarrassing bug.

And dumb! "First" => "Last" on line 1024. Ugh.

> This bit of code has no existing test case.

Well, it did, but that TCK test only checked that elements
were in order, not that #elements == size. Now it does.

> Charlie, please file a bug.

We can use this as a good test case to find out if we can quickly
get a one line fix committed. Martin?


More information about the core-libs-dev mailing list