[kaffe] String problem / NullPointerException in KJC

Dalibor Topic robilad at yahoo.com
Thu Jul 3 11:21:02 PDT 2003

hi Helmer,

--- Helmer Krämer <hkraemer at freenet.de> wrote:

> i think even i<k is still wrong ;) n Is the length of the string
> and m is the length of the pattern, so the largest possible start
> index of the pattern is n-m-1. Therefore it should be n-m-1 and
> <=k or n-m and <k, shouldn't it?

I've checked Guilhem's patch in as it is. 

But your stricter interpretation makes sense. Could you build a rt.jar with the
current CVS head, and another with a stricter limit and check if they are
equal, and that the stricter interpretation passes the regression test suite?

dalibor topic

Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

More information about the kaffe mailing list