[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]

Re: [zzdev] Tuukka, your patch breaks compile on JDK1.1

On 21 Jul, Tuomas Lukka wrote:
> You're using two methods that are not yet in JDK1.1:

>    198. 		    dims.add(c.getText());

>    201. 	    return (String[])(dims.toArray(new
> String[dims.size()]));

Oh no. Only addElement() is available. Right. And Sun's API docs don't
tell toArray() is not available in older JDKs. 

But now it's fixed anyway. 


E-Mail: Tuukka.Hastrup@xxxxxx
WWW:    http://www.iki.fi/Tuukka.Hastrup
ICQ:	#11321669