Kaffe CVS: kaffe dalibor
Jim Pick
kaffe@rufus.w3.org
Thu, 4 Apr 2002 08:06:46 -0800
Hmm. Nice one. :-)
private byte[] getBytes( CharToByteConverter encoding) {
ByteArrayOutputStream out = new ByteArrayOutputStream( value.length);
- byte[] buf = new byte[512];
+ byte[] buf = new byte[value.length*7];
int buflen = encoding.convert( value, offset, count, buf, 0, buf.length);
Cheers,
- Jim
----- Original Message -----
From: "Kaffe CVS" <cvs-commits@kaffe.org>
To: <kaffe@rufus.w3.org>
Sent: Thursday, April 04, 2002 4:52 AM
Subject: Kaffe CVS: kaffe dalibor
>
>
> CVSROOT: /cvs/kaffe
> Module name: kaffe
> Changes by: dalibor 02/04/04 04:52:51
>
> Modified files:
> libraries/javalib/java/lang: String.java
>
> Log message:
> applied patch from mandrake
>
>