-
Type:
Bug
-
Resolution: Won't Fix
-
Priority:
P5
-
None
-
Affects Version/s: 6
-
Component/s: tools
-
generic
-
generic
Because WildcardType.bound may not be initialized before a wildcard
is used in a subtype question, the following code is used to determine
the upper bound of super bounded wildcards:
WildcardType w = (WildcardType)t;
w.bound == null ? syms.objectType : w.bound.bound;
This is unfortunate and should be addressed by rethinking how wildcards
are set up.
is used in a subtype question, the following code is used to determine
the upper bound of super bounded wildcards:
WildcardType w = (WildcardType)t;
w.bound == null ? syms.objectType : w.bound.bound;
This is unfortunate and should be addressed by rethinking how wildcards
are set up.