From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28379 invoked by alias); 13 Mar 2012 17:07:49 -0000 Received: (qmail 28368 invoked by uid 22791); 13 Mar 2012 17:07:48 -0000 X-SWARE-Spam-Status: No, hits=-6.7 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,TW_GC,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 13 Mar 2012 17:07:35 +0000 Received: from int-mx12.intmail.prod.int.phx2.redhat.com (int-mx12.intmail.prod.int.phx2.redhat.com [10.5.11.25]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id q2DH7ZE7028833 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Tue, 13 Mar 2012 13:07:35 -0400 Received: from zebedee.pink (ovpn-113-151.phx2.redhat.com [10.3.113.151]) by int-mx12.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id q2DH7Yi4015052; Tue, 13 Mar 2012 13:07:34 -0400 Message-ID: <4F5F7ED5.4030905@redhat.com> Date: Tue, 13 Mar 2012 17:07:00 -0000 From: Andrew Haley User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.1) Gecko/20120216 Thunderbird/10.0.1 MIME-Version: 1.0 To: java@gcc.gnu.org Subject: Re: Which library implementation to use/work on? References: In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: 2012-03/txt/msg00035.txt.bz2 On 03/13/2012 04:56 PM, Mike Hearn wrote: > Hi there, > > I'm investigating GCJ for a project of mine to open up a Java library > to the world of [Objective] C++ via the quite lovely CNI interface. > > My project depends on the Google protocol buffers library. Attempting > to compile this jar reveals that there is a slight gap in > java.util.regex in GNU Classpath. > > I'm trying to figure out what I should do with my time: > > 1) Write a patch to classpath - problem, project appears to be dead? > 2) Try and somehow compile against Apache Harmony - problem, project > also appears to be dead? > 3) Change the protobufs library so it avoids the stubs in Classpath > > It seems that trying to support GCJ will keep my project at the level > of Java 1.5 (or 1.4?) forever, as it's no longer being developed, > which is a shame. > > I recall that some time ago Sun open sourced Java, but I don't know if > it's compatible with what I want to do or how it plays together with > GCJ (if at all). > > Any tips for what I should do? I'd just fix up java.util.regex in Classpath as long as it wasn't too hard. Updating gcj to use the class library from Sun's now-free OpenJDK is on my list of long-term projects. It's a big job though, even for an expert. Andrew.