From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1864 invoked by alias); 7 May 2009 11:45:58 -0000 Received: (qmail 1849 invoked by uid 22791); 7 May 2009 11:45:57 -0000 X-SWARE-Spam-Status: No, hits=-1.4 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mail-bw0-f176.google.com (HELO mail-bw0-f176.google.com) (209.85.218.176) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 07 May 2009 11:45:48 +0000 Received: by bwz24 with SMTP id 24so715648bwz.8 for ; Thu, 07 May 2009 04:45:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.103.226.20 with SMTP id d20mr1568789mur.8.1241696745301; Thu, 07 May 2009 04:45:45 -0700 (PDT) In-Reply-To: <4A02A70C.3030101@redhat.com> References: <4A020407.2090306@gmail.com> <4A02A70C.3030101@redhat.com> Date: Thu, 07 May 2009 11:45:00 -0000 Message-ID: <7230133d0905070445r2c467880o157fbb40ecfe40fa@mail.gmail.com> Subject: Re: GCJ with OpenJDK Java API instead of GNU Classpath From: Bryce McKinlay To: Andrew Haley Cc: Sal , java@gcc.gnu.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes Mailing-List: contact java-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-owner@gcc.gnu.org X-SW-Source: 2009-05/txt/msg00015.txt.bz2 On Thu, May 7, 2009 at 10:17 AM, Andrew Haley wrote: > It's all GPL + exception, so there are no licence difficulties. > > This would be an excellent thing to do, but it would be difficult. =A0In > particular, class loading and class initialization are done in very > different ways, and this would all need to be rewritten. > > I'd love someone to do this, but I don't want them to be under any illusi= on > about how difficult it might be. I don't think this is quite as hard as Andrew suggests. Certainly, making GCJ work with low level OpenJDK classes like Object, Class, and ClassLoader would be a lot of work - but pretty much everything above that should work out-of-the-box, and provide the vast majority of the compatibility benefits. There's also no reason why the merge can't be done gradually, ie one package at a time. We did that with the original libgcj-Classpath merge. Bryce