i'm sending some code

Archie Cobbs archie at whistle.com
Wed Jun 28 13:16:55 PDT 2000


Rizsanyi Zsolt writes:
> this is a fix for the class java.text.Format
> 
> The method java.lang.Object parseObject(String) should throw
> ParseException.
> So it should look out like this:
> 
> public Object parseObject(String source) throws ParseException{
> 	ParsePosition pp = new ParsePosition(0);
> 	Object obj = parseObject(source, pp );
> 	if (pp.getIndex()==0) throw new ParseException("parseObject failed",0);
> 	return obj;
> }

Fixed.. thanks!

-Archie

___________________________________________________________________________
Archie Cobbs   *   Whistle Communications, Inc.  *   http://www.whistle.com


More information about the kaffe mailing list