Other |
---|
5.0 b28Fixed |
Duplicate :
|
|
Duplicate :
|
|
Duplicate :
|
Existing code such as Class a = boolean ? A.class : B.class; should compile without error, in spite of the fact that (with generics enabled) neither A.class nor B.class is a subtype of the other. With wildcards, the result type should be Class<?> Or, if A is a base class of B, Class<? extends A> This is a backward compatibility issue.
|