[
https://issues.apache.org/jira/browse/BCEL-207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14328942#comment-14328942
]
Mark Roberts commented on BCEL-207:
-----------------------------------
oh, I see - you are talking about re-factoring the code. In that case, why not
just have removeLocalVariables call removeLocalVariable within the loop instead
of the notifyTarget(s). Originially, I was worried about the performance of n
variable_vec.remove(s) versus a single variable_vec.clear - but I suspect that
in the vast majority of cases the number of locals would be fairly small.
> RemoveLocalVariable(s) doesn't remove the associated Targetters.
> ----------------------------------------------------------------
>
> Key: BCEL-207
> URL: https://issues.apache.org/jira/browse/BCEL-207
> Project: Commons BCEL
> Issue Type: Bug
> Reporter: Mark Roberts
> Attachments: methodgen3.diff
>
>
> RemoveLocalVariable(s) doesn't remove the associated Targetters.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)