Return-Path: Delivered-To: apmail-harmony-dev-archive@www.apache.org Received: (qmail 46545 invoked from network); 16 Sep 2009 08:04:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Sep 2009 08:04:22 -0000 Received: (qmail 15005 invoked by uid 500); 16 Sep 2009 08:04:21 -0000 Delivered-To: apmail-harmony-dev-archive@harmony.apache.org Received: (qmail 14938 invoked by uid 500); 16 Sep 2009 08:04:21 -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 14927 invoked by uid 99); 16 Sep 2009 08:04:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 08:04:21 +0000 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.141 is neither permitted nor denied by domain of mark.hindess@googlemail.com) Received: from [195.212.29.141] (HELO mtagate8.uk.ibm.com) (195.212.29.141) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 16 Sep 2009 08:04:09 +0000 Received: from d06nrmr1407.portsmouth.uk.ibm.com (d06nrmr1407.portsmouth.uk.ibm.com [9.149.38.185]) by mtagate8.uk.ibm.com (8.14.3/8.13.8) with ESMTP id n8G83SKP369252 for ; Wed, 16 Sep 2009 08:03:33 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 v10.0) with ESMTP id n8G83GBV1724556 for ; Wed, 16 Sep 2009 09:03:18 +0100 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 n8G83Gok028717 for ; Wed, 16 Sep 2009 09:03:16 +0100 Received: from anaheim.local (dhcp-9-20-183-194.hursley.ibm.com [9.20.183.194]) by d06av04.portsmouth.uk.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id n8G83G8s028713 for ; Wed, 16 Sep 2009 09:03:16 +0100 Message-Id: <200909160803.n8G83G8s028713@d06av04.portsmouth.uk.ibm.com> X-Mailer: exmh version 2.7.2 01/07/2005 (debian 1:2.7.2-16) with nmh-1.2 In-reply-to: <4AAF8ECD.70005@googlemail.com> References: <200909142011.n8EKBid8013737@d06av01.portsmouth.uk.ibm.com> <4AAF8ECD.70005@googlemail.com> Comments: In-reply-to Oliver Deakin message dated "Tue, 15 Sep 2009 13:55:41 +0100." From: Mark Hindess To: dev@harmony.apache.org Subject: Re: [portlib][hythr] Minor API change: use const char* from names Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Wed, 16 Sep 2009 09:03:16 +0100 X-Virus-Checked: Checked by ClamAV on apache.org In message <4AAF8ECD.70005@googlemail.com>, Oliver Deakin writes: > > Mark Hindess wrote: > > > > I plan to modify the hythread api so that it uses "const char*" > > for names of threads and monitors rather than the current "char*". > > Since the former is more appropriate and avoids errors (when using > > const strings) without appropriate casts on recent versions of > > gcc. (For instance, you can't build the federated build with > > -Dhy.no.thr=true with recent versions of gcc because of a warning > > treated as an error in jdktools/modules/jpda.) > > > > +1 - I fixed a few of these a while back where I got compiler warnings. > const char * is the appropriate type for these, as you say. I've made this change in r815644 for trunk. Since the java6 branch shares the drlvm trunk, I also made commit r815646 in the classlib java6 branch to keep things in sync. -Mark.