Yes, the Eclipse and Sun compiler differ quite annoyingly in how they treat casts that have a generic component. Unfortunately this is not a setting. There are more differences. For example JRockit behaves weird around warnings for deprecated methods.

Regards,
   Erik.


Johan Compagner wrote:
thx fix it.
strange that compilers are that different. should be a setting then
somewhere in eclipse.

johan


--
Erik van Oosten
http://www.day-to-day-stuff.blogspot.com/

Reply via email to