harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: Mission impossible: new APIs without spec in Java 5.0
Date Thu, 16 Feb 2006 11:33:35 GMT
Hmm, they look to me like they could be impl methods that were
inadvertently exposed.  They don't seem to fit in to the BreakIterator bag.

If I were you I'd implement them to throw a NotYetImplementedException.

Regards,
Tim

Anton Avtamonov wrote:
> Hi,
> 
> What is wrong if you prepare unit tests and investigate how it works?
> I think that is valid approach for such cases. Am I wrong?
> 
> --
> Anton Avtamonov,
> Intel Middleware Products Division
> 
> On 2/16/06, Richard Liang <richard.liangyx@gmail.com> wrote:
>> Dears,
>>
>> There are three protected methods added in java.text.BreakIterator, but
>> I cannot find their specification. What shall we do?
>>
>> protected static long getLong(byte[] buf, int offset)
>> protected static int getInt(byte[] buf, int offset)
>> protected static short getShort(byte[] buf, int offset)
>>
>> --
>> Richard Liang
>> China Software Development Lab, IBM
>>
>>
>>
> 

-- 

Tim Ellison (t.p.ellison@gmail.com)
IBM Java technology centre, UK.

Mime
View raw message