[kaffe] java.lang.UnsatisfiedLinkError: not enough memory
Ito Kazumitsu
ito.kazumitsu at hitachi-cable.co.jp
Tue May 13 02:04:01 PDT 2003
In message "Re: [kaffe] java.lang.UnsatisfiedLinkError: not enough memory"
on 03/05/13, Ito Kazumitsu <ito.kazumitsu at hitachi-cable.co.jp> writes:
> So until the FIXME part is fixed, the program will not work even if
> the java.lang.UnsatisfiedLinkError is solved.
>
> Fixing the FIXME part is a GNU Classpath's issue.
I posted the following patch to GNU classpath mailing list.
--- java/awt/image/ColorModel.java.orig Fri Jan 17 06:37:20 2003
+++ java/awt/image/ColorModel.java Tue May 13 16:30:54 2003
@@ -113,7 +113,7 @@
{
this(bits * 4, // total bits, sRGB, four channels
nArray(bits, 4), // bits for each channel
- null, // FIXME: should be sRGB
+ ColorSpace.getInstance(ColorSpace.CS_sRGB), // sRGB
true, // has alpha
false, // not premultiplied
TRANSLUCENT,
This patch makes the program run normally.
So the original java.lang.UnsatisfiedLinkError may be OS-dependent?
More information about the kaffe
mailing list