[
https://jira.jboss.org/browse/JASSIST-110?page=com.atlassian.jira.plugin....
]
Shigeru Chiba commented on JASSIST-110:
---------------------------------------
I guess you obtained a ClassFile object and directly modified it. If you obtain a
ClassFile object by CtClass#getClassFile(),
then isModify() should correctly work. However, if you do by getClassFile2(), which
should not be used (see javadoc), isModify()
will not work.
CtClassType.isModified does not check for edited attributes in the
ClassFile
----------------------------------------------------------------------------
Key: JASSIST-110
URL:
https://jira.jboss.org/browse/JASSIST-110
Project: Javassist
Issue Type: Bug
Affects Versions: 3.11.0.GA
Reporter: Flavia Rainone
Assignee: Shigeru Chiba
If you edit an attribute of a CtClass and call isModified, it will return false. It
should return true.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira