public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
From: Bryce McKinlay <bmckinlay@gmail.com>
To: Andrew Haley <aph@redhat.com>
Cc: Andrew John Hughes <gnu_andrew@member.fsf.org>,
	Sal <svferro@gmail.com>,
	java@gcc.gnu.org
Subject: Re: GCJ with OpenJDK Java API instead of GNU Classpath
Date: Thu, 07 May 2009 13:50:00 -0000	[thread overview]
Message-ID: <7230133d0905070650g76564129m7824df694091dace@mail.gmail.com> (raw)
In-Reply-To: <4A02E572.7080003@redhat.com>

On Thu, May 7, 2009 at 2:43 PM, Andrew Haley <aph@redhat.com> wrote:
> Andrew John Hughes wrote:
>
>> There's actually no need to do a wholesale replacement of
>> everything.  GCJ already overrides quite a number of classes from
>> GNU Classpath with its own versions (including Object IIRC).

I agree. GCJ-OpenJDK could be built following a very similar approach.

>> Quite a number of packages in Classpath are just pure Java and are
>> used as is in GCJ.  This even extends to Swing, where the native JNI
>> code from Classpath is used (GCJ usually prefers CNI).
>>
>> It really depends what you want the end result to be.  Having some
>> hybrid with all the packages is probably an easier goal than trying
>> to pass the TCK with the result... ;)
>
> Huh?  I was assuming Java compatibility was the goal.

Sure, it won't be perfect. But this approach gets you ~90% of the
compatibility with ~10% of the effort!

Bryce

  reply	other threads:[~2009-05-07 13:50 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-06 20:43 Sal
2009-05-07  9:17 ` Andrew Haley
2009-05-07 11:45   ` Bryce McKinlay
2009-05-07 13:25     ` Andrew John Hughes
2009-05-07 13:43       ` Andrew Haley
2009-05-07 13:50         ` Bryce McKinlay [this message]
2009-05-07 20:24   ` Sal
2009-05-08  8:04     ` Robert Schuster
2009-05-08 10:08     ` Andrew Haley
2009-05-07 16:28 ` Mark Wielaard
2009-05-08 13:47   ` Robert Schuster
2009-05-07 14:31 Chris Gray
2009-05-07 15:29 ` Andrew John Hughes
2009-05-07 16:25   ` Mark Wielaard
2009-05-07 16:32     ` Andrew Haley
2009-05-07 17:10       ` Mark Wielaard
2009-05-07 17:20         ` Andrew Haley
2009-05-07 17:24           ` David Boreham
2009-05-07 17:34             ` Andrew Haley
2009-05-07 17:44           ` Mark Wielaard
2009-05-08  0:22             ` Andrew John Hughes
2009-05-08 10:13               ` Andrew Haley
2009-05-08 11:00                 ` Mark Wielaard

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=7230133d0905070650g76564129m7824df694091dace@mail.gmail.com \
    --to=bmckinlay@gmail.com \
    --cc=aph@redhat.com \
    --cc=gnu_andrew@member.fsf.org \
    --cc=java@gcc.gnu.org \
    --cc=svferro@gmail.com \
    /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).