[ https://jira.terracotta.org/jira//browse/CDV-310?page=comments#action_21674 ] Tim Eck commented on CDV-310: -----------------------------
reported bug with AspectJ here: https://bugs.eclipse.org/bugs/show_bug.cgi?id=194314 > DefinitionException thrown when visiting AspectJ woven classes > -------------------------------------------------------------- > > Key: CDV-310 > URL: https://jira.terracotta.org/jira//browse/CDV-310 > Project: Community Development > Issue Type: Bug > Affects Versions: 2.3 > Reporter: Tim Eck > Assigned To: Eugene Kuleshov > Attachments: Test.zip > > > From the forums: http://forums.terracotta.org/forums/posts/list/293.page > This appears to be an issue caused by the AspectJ compiler. Best I can tell, > the advice is transformed to a static method named > "removeConnector_aroundBody9$advice" in the target class where the advice is > to be applied. The LocalVariableTable for that static method though is copied > wholesale from the original aspect defniotn. Unfortunately this information > is completely wrong by this point (new method parameters have been added, and > the method is now static). This bad local variable info is what trips the > exception in the Terracotta code. > We're going to report the problem to the AspectJ developers and work on > making the Terracotta code tolerant of this scenario. > The exception is relatively harmless though, it is caught and printed. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: https://jira.terracotta.org/jira//secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira _______________________________________________ tc-dev mailing list [email protected] http://lists.terracotta.org/mailman/listinfo/tc-dev
