Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 29981 invoked from network); 4 Feb 2008 15:19:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Feb 2008 15:19:29 -0000 Received: (qmail 13686 invoked by uid 500); 4 Feb 2008 15:19:20 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 13662 invoked by uid 500); 4 Feb 2008 15:19:20 -0000 Mailing-List: contact dev-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list dev@harmony.apache.org Received: (qmail 13653 invoked by uid 99); 4 Feb 2008 15:19:20 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 07:19:20 -0800 X-ASF-Spam-Status: No, hits=-2.8 required=10.0 tests=RCVD_IN_DNSWL_MED,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: 195.212.29.136 is neither permitted nor denied by domain of mark.hindess@googlemail.com) Received: from [195.212.29.136] (HELO mtagate3.uk.ibm.com) (195.212.29.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Feb 2008 15:19:04 +0000 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate3.uk.ibm.com (8.13.8/8.13.8) with ESMTP id m14FIuHc194728 for ; Mon, 4 Feb 2008 15:18:56 GMT Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by d06nrmr1407.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v8.7) with ESMTP id m14FIuAx5111978 for ; Mon, 4 Feb 2008 15:18:56 GMT Received: from d06av04.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id m14FIrnN017061 for ; Mon, 4 Feb 2008 15:18:53 GMT Received: from anaheim.local (sig-9-145-22-247.uk.ibm.com [9.145.22.247]) by d06av04.portsmouth.uk.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id m14FIrGi017046 for ; Mon, 4 Feb 2008 15:18:53 GMT Message-Id: <200802041518.m14FIrGi017046@d06av04.portsmouth.uk.ibm.com> X-Mailer: exmh version 2.7.2 01/07/2005 (debian 1:2.7.2-9) with nmh-1.2 From: "Mark Hindess" To: "Apache Harmony Dev List" Subject: [general] Should we make portlib a separate component? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 04 Feb 2008 15:18:50 +0000 X-Virus-Checked: Checked by ClamAV on apache.org Should portlib be a separate component like classlib, drlvm, jdktools, etc.? Currently portlib is closely associated with classlib. It is built in the same way as any other classlib module. But really it isn't just another classlib module. It's a porting layer for classlib, DRLVM, jdktools, etc. It is suppose to have a well-defined API ... but we changed the API without a second thought when the patch for HARMONY-2236, for example, was committed. I'm under no illusions that having portlib as a separate component will stop this happening but I think it would help us think about it a little differently. It would also enable us to apply versioning (branching/tagging) to portlib separately from classlib which in turn would allow us to manage changes to the API more easily. Classlib/DRLVM could make compile/runtime decisions based on the version of the portlib API that is found. Separate versioning of this component should make it easier to make changes and extend the portlib to cover additional requirements. For example, to better support DRLVM, particularly if it moved away from using APR which I seem to recall was mentioned (again) recently. It would also give us the flexibility to choose to have portlib use a different build mechanism in future - such as autoconf - if we decided that was more suitable for a pure native code component. Comments? Regards, Mark.