Missing java.lang.String constructor in libjava
Bryce McKinlay
bmckinlay@gmail.com
Mon Sep 1 09:20:00 GMT 2014
On Mon, Sep 1, 2014 at 6:10 AM, Erik Larsson <catacombae@gmail.com> wrote:
> I was trying to compile some Java 1.5 code into a binary and ran into a
> problem. The constructor String(int[], int, int) does not exist in gcj's
> libjava, even though it was added to GNU classpath as early as 2006 [1].
> Is this omission intentional? Surely there must have been a code sync
> between gcc and GNU classpath since 2006?
Hi Eric,
There are a few core classes (including java.lang.Object,
java.lang.Class, and java.lang.String) for which libgcj has its own
implementations that are not fully merged with Classpath. The GCJ
compiler has dependencies on certain implementation details of these
classes which differ between the GCJ and Classpath versions.
It should be pretty straightforward to merge this missing constructor
across, of course.
Bryce
More information about the Java
mailing list