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
) when being called on an unresolvable type. This is particularly nasty as getFullyQualifiedName() may be called by equals(...).
That affects even more methods on DefaultJavaType (namely all those which unconditionally dereference the return value from resolveRealClass which may return null).
As it may happen that an instance of DefaultJavaType is not resolvable this should be treated more gracefully.
The text was updated successfully, but these errors were encountered:
There is a potential NPE in
DefaultJavaType.getFullyQualifiedName
(qdox/src/main/java/com/thoughtworks/qdox/model/impl/DefaultJavaType.java
Line 113 in 37916ae
getFullyQualifiedName()
may be called byequals(...)
.That affects even more methods on
DefaultJavaType
(namely all those which unconditionally dereference the return value fromresolveRealClass
which may returnnull
).As it may happen that an instance of DefaultJavaType is not resolvable this should be treated more gracefully.
The text was updated successfully, but these errors were encountered: