milan chudik wrote at Mittwoch, 24. Februar 2010 11:13:

> Hi guys,
> 
> I have a strange problem with one generics code found in one GWT
> library. This compile fine with java 6 but not with java 5.
> In fact I can compile it in eclipse with java 5, so this problem appears
> only when compiling with maven.

[snip]

No, it appears when you compile with the Sun compiler. Eclipse uses *never* 
the compiler of the configured JDK. Simply compile from commandline with 
javac yourself and you'll see. The Eclipse compiler is too smart regarding 
generics.

- Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to