From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13808 invoked by alias); 14 Mar 2012 12:14:53 -0000 Received: (qmail 13792 invoked by uid 22791); 14 Mar 2012 12:14:51 -0000 X-SWARE-Spam-Status: No, hits=-3.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_HI,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mx3-phx2.redhat.com (HELO mx3-phx2.redhat.com) (209.132.183.24) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Wed, 14 Mar 2012 12:14:31 +0000 Received: from zmail17.collab.prod.int.phx2.redhat.com (zmail17.collab.prod.int.phx2.redhat.com [10.5.83.19]) by mx3-phx2.redhat.com (8.13.8/8.13.8) with ESMTP id q2ECEUqJ026572; Wed, 14 Mar 2012 08:14:30 -0400 Date: Wed, 14 Mar 2012 12:14:00 -0000 From: Andrew Hughes To: Mike Hearn Cc: java@gcc.gnu.org Subject: Re: Which library implementation to use/work on? Message-ID: <7236c493-f305-4efb-83f6-77dd56674597@zmail17.collab.prod.int.phx2.redhat.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit MIME-Version: 1.0 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/msg00046.txt.bz2 ----- Original Message ----- > 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. > Can you provide details please? > 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? Hardly: http://icedtea.classpath.org/mirror/git/classpath/classpath/ (commits 6 days ago) http://developer.classpath.org/pipermail/classpath/2012-March/thread.html (active discussion) How is this dead? There's less than there was, yes, but that's because Sun (now Oracle) have largely succeeded in persuading people to switch to their less-open OpenJDK project. We always had problems generating interest before OpenJDK (quite a lot of people seemed happy to put up with the proprietary but gratis JDK downloads from Sun). Having a more complete open source project is obviously going to sway those who want a full JDK now (notably distros), but there will be those still interested in the intellectual challenge of producing a JDK themselves. I think there are clear issues with having a single implementation of a platform; it leads to confusion between what is part of the specification and what is merely an artefact of implementation, an issue we've hit many times in developing GNU Classpath. > 2) Try and somehow compile against Apache Harmony - problem, project > also appears to be dead? I can't comment much on Harmony, but it always seemed to have less of a user-driven community than Classpath to begin with and has officially been put in the 'attic' as far as I'm aware. > 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. > It would help if you did a little research before making such claims. > 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). > Depends on what you want to do. It doesn't have CNI. > Any tips for what I should do? > > thanks > -mike > -- Andrew :) Free Java Software Engineer Red Hat, Inc. (http://www.redhat.com) PGP Key: 248BDC07 (https://keys.indymedia.org/) Fingerprint = EC5A 1F5E C0AD 1D15 8F1F 8F91 3B96 A578 248B DC07