i'm sending some code

Rizsanyi Zsolt rizsanyi at altavista.net
Wed Jun 28 04:27:10 PDT 2000


For I don't have cvs access, I'm sending you this fix by mail.
Please somebody incorporate it:

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;
}



More information about the kaffe mailing list