what happens if you overrode a method that took a map<string,object>
and then change the super to map<string,?> ?

-igor


2009/8/8 Uwe Schäfer <u...@thomas-daily.de>:
> burnstone schrieb:
>>
>> Type erasure would mean it can't, wouldn't it?
>
> agreed, but i fear i might be missing something.
>
> anyway, i tried with some testclasses to change a signature from
> foo(Map<String, Object>) to
> foo(Map<String, ?>)
> without breaking existing code compiled against the first version.
>
> so to me it looks like compatible.
>
> cu uwe
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to