[ 
https://issues.apache.org/jira/browse/BCEL-196?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Roberts updated BCEL-196:
------------------------------
    Comment: was deleted

(was: I must apologize for this request.  Some time ago we used setOpcode to, 
for example, change an 'aload_1' to an 'aload_2'.  Later we realized that just 
incrementing the index with setIndex was good enough, BCEL took care of the 
details. (well done)  Unfortunately, we never undid our change to make 
setOpcode public and when I diffed our tree with yours this change was still 
there and I included it in my list.

Long story short - go ahead and close this issue.
)

> why is Instruction.setOpcode private?
> -------------------------------------
>
>                 Key: BCEL-196
>                 URL: https://issues.apache.org/jira/browse/BCEL-196
>             Project: Commons BCEL
>          Issue Type: Bug
>            Reporter: Mark Roberts
>         Attachments: instruction.diff
>
>
> Am I missing another way to modify an instruction opcode?  Deleting and 
> recreating does not appear to be a good alternative due to having to deal 
> with target pointers. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to