can't compile log4j by Ant
Takashi Okamoto
toraneko at kun.ne.jp
Wed Mar 14 14:57:40 PST 2001
At Wed, 14 Mar 2001 14:14:52 +0100,
Edouard G. Parmelan <egp at free.fr> wrote:
> What's the value of newLength passed by
> org.apache.tools.ant.util.SourceFileScanner.restrict() ?
0
> But this case is handle by ensureCapacity(x, false) so:
>
> boolean newBuf = ensureCapacity(newLength, isStringized);
>
> Could you test that with Ant ?
Sure, It's worked fine with Ant:)
BTW, I have one more problem while compiling log4j:(
Kaffe's java.awt.Color does't have Color(int r, int g, int b, int a).
So, I added following constructor at java.awt.Color :
private Color ( byte r, byte g, byte b, byte a) {
rgbValue = ((a & 0xff) <<24 | ((r & 0xff) << 16) | ((g & 0xff) << 8) | (b & 0xff);
}
But I don't know it's right or not, sorry...
------------------------
Takshi Okamoto
More information about the kaffe
mailing list