public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: Andrew Haley <aph@redhat.com>
To: Ruben De Smet <ruben.de.smet@telenet.be>,
	java@gcc.gnu.org,        Brian Jones <cbjones1@gmail.com>
Subject: Re: Java > 1.5
Date: Sun, 17 Aug 2014 16:00:00 -0000	[thread overview]
Message-ID: <53F0D191.9010400@redhat.com> (raw)
In-Reply-To: <53F06DFC.3030108@telenet.be>

On 17/08/14 09:55, Ruben De Smet wrote:
> On 08/17/2014 12:59 AM, Andrew Haley wrote:
>> It's a lot of work.  libgcj has its own interface to gcj, and we'd need to convert it to the interface the openJDK libraries use.
> 
> That indeed sounds like a lot of work. Isn't it easier to 'compile' the OpenJDK Java classes for the libgcj interface, when gcj has been ported for java 1.7, or is that impossible?

No, you'd have to rewrite the part of the core class library that
communicates with the VM.  I don't think it would be practical.

>>> I guess you'll have to implement all the new 1.6 and 1.7 Java features to get the OpenJDK libraries to work?
>> Yes, but that's less of an issue.
> 
> So, if implementing those new features could be done, I guess I've to start looking at the contribution guidelines.

Sure.  How much do you know about GCC internals?

>> Sure.  But I don't quite understand what you want me to tell you.  You'd need to understand the problem and figure out how to fix it.
> 
> I'd like to be able to deploy my application to my users without having to distribute a JRE with it (that is, for windows users).

You always have to have a JRE.  Maybe it's in a shared library, like
libgcj.  I guess I don't know why you want to do this.

> Are there any resources where I can start reading on what interfaces are to be converted to the OpenJDK interface? I could take some time in October or November trying to convert this.

Let's get real.  I could do move GCJ to use the OpenJDK libraries in
maybe six months to a year.  I am better qualified than almost anyone
else to do it.  I'm not sure there is anything much someone can do in
two months, unless it's simply adding a few classes or bringing some
classes up to date.

> Another topic: Brian Jones asked if gcj was dying:
>> Is gcj going to be archived and removed from gcc?  No one works on it right?
> 
> In the git history I can't see a lot of history. Is gcj dying indeed?

GCJ hasn't been worked on for some time.  Will anyone work on it again?
I don't know.  It's very out of date.

Andrew.

  reply	other threads:[~2014-08-17 16:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-15 17:54 Ruben De Smet
2014-08-16  8:13 ` Andrew Haley
2014-08-16  9:44   ` Ruben De Smet
2014-08-16 22:59     ` Andrew Haley
2014-08-17  8:55       ` Ruben De Smet
2014-08-17 16:00         ` Andrew Haley [this message]
2014-08-16 10:33   ` Brian Jones
2014-08-16 10:37     ` Ruben De Smet

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=53F0D191.9010400@redhat.com \
    --to=aph@redhat.com \
    --cc=cbjones1@gmail.com \
    --cc=java@gcc.gnu.org \
    --cc=ruben.de.smet@telenet.be \
    /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).