This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: [patch] Kawac ant task FileNameMapper name mangling
- From: Per Bothner <per at bothner dot com>
- To: kawa at sourceware dot org
- Date: Wed, 03 Jun 2015 23:59:15 -0700
- Subject: Re: [patch] Kawac ant task FileNameMapper name mangling
- Authentication-results: sourceware.org; auth=none
- References: <56965E20-944B-426B-88F1-530AE407C122 at theptrgroup dot com>
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/