You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
static class Ordering<T extends @Nullable Object> { }
abstract class NullsFirstOrdering<TTT extends @Nullable Object> extends Ordering<@Nullable TTT> {
The @Nullable annotations on type variable TTT in Ordering<@Nullable TTT> are not seen through the type binding, ie. typeBindingForOrderingTTT.getTypeArguments()[0] has empty getAnnotations() and getTypeAnnotations(), in fact the type binding returned as the same instance as the one in the definition.
This repros in JDT 4.29 and JDT 4.32.
The text was updated successfully, but these errors were encountered:
In code like:
The
@Nullable
annotations on type variableTTT
inOrdering<@Nullable TTT>
are not seen through the type binding, ie.typeBindingForOrderingTTT.getTypeArguments()[0]
has emptygetAnnotations()
andgetTypeAnnotations()
, in fact the type binding returned as the same instance as the one in the definition.This repros in JDT 4.29 and JDT 4.32.
The text was updated successfully, but these errors were encountered: