You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 13, 2026. It is now read-only.
In the following example the type of the UiBinder is erased when it is mocked, causing a ClassCastException.
I think there's type information available at runtime that could be used to fixed this. For example, see mockito's handling of RETURNS_DEEP_STUBS with generic types:
I think is is distinct from #50.
In the following example the type of the
UiBinderis erased when it is mocked, causing aClassCastException.I think there's type information available at runtime that could be used to fixed this. For example, see mockito's handling of
RETURNS_DEEP_STUBSwith generic types:Here's the example:
Full repro: