DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36110>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=36110
kk@kohsuke.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
------- Additional Comments From kk@kohsuke.org 2005-08-11 07:06 -------
Sorry, that didn't fix the problem. Now it causes an NPE like this:
1. the LocalVariableGen constructor sets start and end to non-null
2. then it calls the setStart method.
3. the setStart method calls the notifyTarget method to remove itself
from the old handle, and add itself to the new handle.
4. in this case, since the start field is already set, the old handle
is non-null.
5. the notifyTarget method calls the removeTargeter method to remove
the LocalVariableGen from the old InstructionHandle.
6. But since this 'old' InsturctionHandle doesn't actually have any
targeter yet, the following method causes NPE.
> public void removeTargeter(InstructionTargeter t) {
> targeters.remove(t);
> }
Besides, I think we really need a proper fix to this problem.
The suggested fix doesn't work if I attempt to move the
start/end more than once.
--
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
---------------------------------------------------------------------
To unsubscribe, e-mail: bcel-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: bcel-dev-help@jakarta.apache.org
|