Re: A List implementation backed by multiple small arrays rather than the traditional single large array.

2010-04-01 Thread Martin Buchholz
Hi Kevin, You're probably the only one on this list who has seriously read the paper. It is not surprising that taking a research paper into production would discover bugs - the research never had to undergo rigorous testing. (I like the Java culture of combining spec + implementation + test sui

Re: Wording improvements for String.indexOf, String.lastIndexOf

2010-04-01 Thread Martin Buchholz
Renamed to IndexOf-javadoc http://cr.openjdk.java.net/~martin/webrevs/openjdk7/IndexOf-javadoc/ Martin On Thu, Apr 1, 2010 at 15:36, Martin Buchholz wrote: > On Thu, Apr 1, 2010 at 14:35, Xueming Shen wrote: >> >> CR 6940381 Created, P4 java/classes_lang Wording improvements for >> String.index

Re: Wording improvements for String.indexOf, String.lastIndexOf

2010-04-01 Thread Martin Buchholz
On Thu, Apr 1, 2010 at 14:35, Xueming Shen wrote: > > CR 6940381 Created, P4 java/classes_lang Wording improvements for > String.indexOf, String.lastIndexOf > > Since it's a simple rewording, I would not expect a CCC is necessary. > > Please do it separately. > > Seems like the "is true." line is

Re: Swap should be better done native?

2010-04-01 Thread Ulf Zibis
Am 31.03.2010 22:54, schrieb Martin Buchholz: On Wed, Mar 31, 2010 at 13:41, Ulf Zibis wrote: You remember on UTF-8 twiddling: Am 16.03.2010 22:51, schrieb Ulf Zibis: Am 16.03.2010 21:57, schrieb Martin Buchholz: On Tue, Mar 16, 2010 at 12:48, Ulf Zibiswrote:

Re: java.util.Pair

2010-04-01 Thread Goktug Gokdogan
I think an object oriented language like Java should not contain a class where there are so many different candidate names for its fields. It's a code smell for improper abstraction. There are lots of classes that are structurally similar but they are defined in different classes as they are abstra