From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 48547 invoked by alias); 4 Jun 2015 06:59:37 -0000 Mailing-List: contact kawa-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: kawa-owner@sourceware.org Received: (qmail 48534 invoked by uid 89); 4 Jun 2015 06:59:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS autolearn=ham version=3.3.2 X-HELO: aibo.runbox.com Received: from aibo.runbox.com (HELO aibo.runbox.com) (91.220.196.211) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Thu, 04 Jun 2015 06:59:35 +0000 Received: from [10.9.9.207] (helo=mailfront03.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1Z0P7i-00067Q-NA for kawa@sourceware.org; Thu, 04 Jun 2015 08:59:30 +0200 Received: from 76-9-68-231-rt-broadband-00.broadband.oakhurst.sti.net ([76.9.68.231] helo=toshie.bothner.com) by mailfront03.runbox.com with esmtpsa (uid:757155 ) (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.76) id 1Z0P7Y-0001YG-Gk for kawa@sourceware.org; Thu, 04 Jun 2015 08:59:20 +0200 Message-ID: <556FF743.9090909@bothner.com> Date: Thu, 04 Jun 2015 06:59:00 -0000 From: Per Bothner User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: kawa@sourceware.org Subject: Re: [patch] Kawac ant task FileNameMapper name mangling References: <56965E20-944B-426B-88F1-530AE407C122@theptrgroup.com> In-Reply-To: <56965E20-944B-426B-88F1-530AE407C122@theptrgroup.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2015-q2/txt/msg00049.txt.bz2 On 06/02/2015 08:59 PM, Jamison Hope wrote: > The attached patch fixes the expected class file name for source files > with hyphenated names by mangling "-" to "$Mn". Thanks - I checked this in. (One option I've considered is to *not* mangle class names, at least ones that are valid JVM names - which includes ones with hyphens. The disadvantage is you wouldn't be able to refer to these classes from Java, except by using reflection.) -- --Per Bothner per@bothner.com http://per.bothner.com/