Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
None
-
Unit
-
N/A
-
N/A
-
Description
Here is a failing test:
private static interface TestInterface<A, B> { } private static interface TestInterface2<A, B> extends TestInterface<A, B> { } private static class TestClass<A, B> implements TestInterface2<A, B> { } private static class TestClass2<A> extends TestClass<A, Integer> { } private static class TestClass3 extends TestClass2<List<String>> { } @Test public void testResolveType() { Assert.assertEquals(new DefaultParameterizedType(ReflectionUtilsTest.class, TestInterface.class, new DefaultParameterizedType(null, List.class, String.class), Integer.class), ReflectionUtils.resolveType( TestInterface.class, TestClass3.class)); }