-
Feature Request
-
Resolution: Done
-
Major
-
2.3.1.Final
-
None
-
None
I have a jsp class in an application. On updating the jsp class, the updated info was ignored. After further investigation, the issue is caused by the equals method on the AnnotatedTypeIdentifier.
The annoatedType return for the changed class is the cached one
as the AnnotatedTypeIdentifier.equals only checks for the class name
instead of class object.
{{@Override
public boolean equals(Object obj) {
if (this == obj)
if (obj instanceof AnnotatedTypeIdentifier)
{ AnnotatedTypeIdentifier they = (AnnotatedTypeIdentifier) obj; return equal(bdaId, they.bdaId) && equal(className, they.className) && equal(suffix, they.suffix) && equal(modified, they.modified) && equal(contextId, they.contextId); } return false;
}}}
The fix is to use the class instead of the className.