Kaffe CVS: kaffe dalibor

Jim Pick jim at kaffe.org
Thu Apr 4 08:06:46 PST 2002


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 at kaffe.org>
To: <kaffe at 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
> 
> 



More information about the kaffe mailing list