-
Bug
-
Resolution: Won't Fix
-
P5
-
None
-
6
-
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.