Re: [Jastadd] Problem with package-name clashes

From: Jesper qvist <>
Date: Wed, 23 Jan 2013 17:49:22 +0100

Hi Eric,

I have committed a fix for this issue in our SVN repository at revision
9396. JastAddJ now uses getCanonicalFile() to compare the case-sensitive
package name with the directory names on case-insensitive file systems.

It took some time to get the test setup working correctly. I thought for
a while that javac behaved differently because there was an error in the
test setup. Right now the fix has only been tested on Mac but hopefully
it will work equally well on Windows and other case-insensitive platforms.


On 01/21/2013 11:27 AM, Eric Bodden wrote:
> Hello.
>> I tested on a Windows box and the package name / class name conflict is the
>> same for both javac and JastAddJ. I could not find anything in the Java
>> Language Specification stating the importance of case-sensitive package and
>> class names so I'm assuming that this is a rare implementation-defined
>> property.
> I agree. It's just that javac allows the code to compile, so JastAdd
> should probably do the same.
> Eric
Received on Wed Jan 23 2013 - 17:49:07 CET

This archive was generated by hypermail 2.3.0 : Wed Apr 16 2014 - 17:19:06 CEST