public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: Bryce McKinlay <bmckinlay@gmail.com>
To: Erik Larsson <catacombae@gmail.com>
Cc: "java@gcc.gnu.org" <java@gcc.gnu.org>
Subject: Re: Missing java.lang.String constructor in libjava
Date: Mon, 01 Sep 2014 09:20:00 -0000	[thread overview]
Message-ID: <CALUNu-rBd0+mqcYmvhHUxzMmjiezeSpOjaLw=3AeTj6-4p5ELA@mail.gmail.com> (raw)
In-Reply-To: <5403FFAE.6010407@gmail.com>

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

      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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to='CALUNu-rBd0+mqcYmvhHUxzMmjiezeSpOjaLw=3AeTj6-4p5ELA@mail.gmail.com' \
    --to=bmckinlay@gmail.com \
    --cc=catacombae@gmail.com \
    --cc=java@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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).