[Date Prev][Date Next][Thread Prev][Thread Next][Author Index][Date Index][Thread Index]
Re: [zzdev] Tuukka, your patch breaks compile on JDK1.1
- To: lukka@xxxxxxxxxxx
- Subject: Re: [zzdev] Tuukka, your patch breaks compile on JDK1.1
- From: Tuukka Hastrup <Tuukka.Hastrup@xxxxxx>
- Date: Fri, 21 Jul 2000 21:11:58 +0300 (EEST)
- Cc: zzdev@xxxxxxxxxx
- In-reply-to: <Pine.HPP.3.96.1000721204829.23022C-100000@xxxxxxxxxxxxxxxx>
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.
Tuukka
----------------------------------------
E-Mail: Tuukka.Hastrup@xxxxxx
WWW: http://www.iki.fi/Tuukka.Hastrup
ICQ: #11321669