Re: [Jastadd] Problem with package-name clashes

From: Eric Bodden <eric.bodden_at_ec-spride.de>
Date: Thu, 24 Jan 2013 13:57:10 +0100

Thanks a lot Jesper, that's great. We will check this out.

Eric

On 23 January 2013 17:49, Jesper Öqvist <jesper.oqvist_at_cs.lth.se> wrote:
> 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.
>
> /Jesper
>
>
> 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
>
>
> _______________________________________________
> JastAdd mailing list
> JastAdd_at_cs.lth.se
> https://mail1.cs.lth.se/cgi-bin/mailman/listinfo/jastadd



-- 
Eric Bodden, Ph.D., http://sse.ec-spride.de/ http://bodden.de/
Head of Secure Software Engineering Group at EC SPRIDE
Tel: +49 6151 16-75422    Fax: +49 6151 16-72051
Room 3.2.14, Mornewegstr. 30, 64293 Darmstadt
Received on Thu Jan 24 2013 - 13:58:08 CET

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