public inbox for
 help / color / mirror / Atom feed
From: Bryce McKinlay <>
To: Erik Larsson <>
Cc: "" <>
Subject: Re: Missing java.lang.String constructor in libjava
Date: Mon, 01 Sep 2014 09:20:00 -0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

On Mon, Sep 1, 2014 at 6:10 AM, Erik Larsson <> 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.


      parent reply	other threads:[~2014-09-01  9:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-01  5:10 Erik Larsson
2014-09-01  9:00 ` Andrew Haley
2014-09-01  9:20 ` Bryce McKinlay [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='' \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).