ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <flo...@mindspring.com>
Subject Re: AW: a problem compiling a Java 5 project with generics
Date Wed, 18 Oct 2006 14:18:35 GMT
Actually, I think the real problem isn't generics but an inner class 
that using a generic specified by the outer class.  I bet this problem 
goes away if all the classes were defined as outer classes.

Steve Loughran wrote:
> Scot P. Floess wrote:
>> Steve:
>>
>> My apologies...my mouth is now stretched from the placement of my 
>> foot in my mouth ;)  When I tried this, I didn't specify -classpath 
>> to command line javac.  I see now by doing so it does, in fact, break 
>> as mentioned.
>>
>> Yeah, I agree (now) that it is a bug :)
>
> Or a limitation of generics. Namely the .class file doestn contain 
> enough type information.
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

-- 
Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate  http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message