getRefClasses() fails for some of the inner classes defined in
java.util
------------------------------------------------------------------------
Key: JASSIST-129
URL:
https://issues.jboss.org/browse/JASSIST-129
Project: Javassist
Issue Type: Bug
Affects Versions: 3.13.0.GA
Reporter: Maciej Kokocinski
Assignee: Shigeru Chiba
Fix For: 3.14.0.GA
CtClass.getRefClasses() reports not existing classes in some cases.
One out of many examples is "java.util.LinkedList$DescendingIterator".
getRefClasses() for this class returns, as one of the resulting list elements,
"istItr" which is obviously wrong as there is no such class.
There is a field inside this class named itr of type
'java.util.LinkedList$ListItr". If we get fieldInfo for this field its descriptor
is "Ljava/util/LinkedList$ListItr;", however if we take its SignatureAttribute,
then its signature is "Ljava/util/LinkedList<TE;>.ListItr;". When this
string is parsed during AttributeInfo.renameClass(List, ClassMap) then a class named
"istItr" is 'found'.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: