-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
6
-
None
-
generic
-
generic
This code:
System.out.println(java.util.Map.class.getMethod("entrySet").getGenericReturnType());
produces this output:
java.util.Set<java.util.Map.java.util.Map$Entry<K, V>>
rather than the expected:
java.util.Set<java.util.Map$Entry<K, V>>
This is with Tiger and with Mustang b68.
System.out.println(java.util.Map.class.getMethod("entrySet").getGenericReturnType());
produces this output:
java.util.Set<java.util.Map.java.util.Map$Entry<K, V>>
rather than the expected:
java.util.Set<java.util.Map$Entry<K, V>>
This is with Tiger and with Mustang b68.
- duplicates
-
JDK-8054213 Class name repeated in output of Type.toString()
-
- Closed
-
- relates to
-
JDK-5033583 (reflect) need toGenericString methods
-
- Resolved
-
-
JDK-8020194 Class.getGenericInterfaces()[index].toString() duplicates outer class name
-
- Closed
-