Re: more TreeMap questions (descendingMap, headMap and tailMap)

2008-05-23 Thread Martin Buchholz
There was an attempt made to be more precise about when IllegalArgumentException would be thrown, consistent with this wording from subMap * The returned map will throw an [EMAIL PROTECTED] IllegalArgumentException} * on an attempt to insert a key outside of its range, or to construct a

Re: more TreeMap questions (descendingMap, headMap and tailMap)

2008-05-23 Thread Martin Buchholz
The "restricted range" refers to the elements that the submap could possibly ever contain, not the elements that it currently contains. This may not be described in the clearest way in the doc, but I'm not motivated to work on clarifying it, partly because I've generally felt it was a design mista

more TreeMap questions (descendingMap, headMap and tailMap)

2008-05-23 Thread charlie hunt
I have run across a couple cases which may or may not be defects in TreeMap. Or, it's simply a case where I am not understanding the Java docs for TreeMap & NavigableMap correctly. When looking at the Java docs for TreeMap / NavigableMap tailMap() I read, "Returns a view of the portion of thi

hg: jdk7/tl/jdk: 66 new changesets

2008-05-23 Thread tim . bell
Changeset: 94638b3696a6 Author:peterz Date: 2008-04-03 16:41 +0400 URL: http://hg.openjdk.java.net/jdk7/tl/jdk/rev/94638b3696a6 4714674: JEditorPane.setPage(url) blocks AWT thread when HTTP protocol is used Summary: Both POST and GET can now be processed asynchronously; PageLoader

hg: jdk7/tl/jaxws: Added tag jdk7-b27 for changeset 27d8f42862c1

2008-05-23 Thread tim . bell
Changeset: eefcd5204500 Author:xdono Date: 2008-05-22 09:37 -0700 URL: http://hg.openjdk.java.net/jdk7/tl/jaxws/rev/eefcd5204500 Added tag jdk7-b27 for changeset 27d8f42862c1 ! .hgtags

hg: jdk7/tl/jaxp: Added tag jdk7-b27 for changeset bafed478d67c

2008-05-23 Thread tim . bell
Changeset: b996318955c0 Author:xdono Date: 2008-05-22 09:37 -0700 URL: http://hg.openjdk.java.net/jdk7/tl/jaxp/rev/b996318955c0 Added tag jdk7-b27 for changeset bafed478d67c ! .hgtags

hg: jdk7/tl/hotspot: 62 new changesets

2008-05-23 Thread tim . bell
Changeset: b97de546208e Author:xlu Date: 2008-04-03 12:21 -0700 URL: http://hg.openjdk.java.net/jdk7/tl/hotspot/rev/b97de546208e 6671882: memory access after free in solaris/vm/os_solaris.cpp Summary: Corrected the wrong memory access problem and made some minor clean ups Reviewed-b

hg: jdk7/tl/corba: Added tag jdk7-b27 for changeset e84e9018bebb

2008-05-23 Thread tim . bell
Changeset: 27509b7d21ed Author:xdono Date: 2008-05-22 09:37 -0700 URL: http://hg.openjdk.java.net/jdk7/tl/corba/rev/27509b7d21ed Added tag jdk7-b27 for changeset e84e9018bebb ! .hgtags

hg: jdk7/tl: Added tag jdk7-b27 for changeset 11b4dc9f2be3

2008-05-23 Thread tim . bell
Changeset: 56652b46f328 Author:xdono Date: 2008-05-22 09:37 -0700 URL: http://hg.openjdk.java.net/jdk7/tl/rev/56652b46f328 Added tag jdk7-b27 for changeset 11b4dc9f2be3 ! .hgtags

Re: Character decoding could be 3 times faster !

2008-05-23 Thread Ulf Zibis
*Now I've created the ultimate single-byte decoder loop. It's internal work is done by 1 line of code. It's fast, because all exceptional circumstances are processed outside in the catch blocks. The therein invoked subclassable decode method is customisable in any way. See the full code of the f