|
|
Issue Type:
|
Bug
|
Affects Versions:
|
2.3.1.Final
|
Assignee:
|
Unassigned
|
Components:
|
Class Beans (Managed and Session)
|
Created:
|
10/Nov/15 5:51 PM
|
Environment:
|
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) { return true; }
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.
|
Priority:
|
Major
|
Reporter:
|
Emily Jiang
|
|
|
|