1

Here are some code lines:

//   43: invokevirtual 10   test/main:a (I)test/sub1;
//   46: pop
//   47: goto +4 -> 51
//   50: athrow
//   51: aload_2

This is the byte code of a sample Java class file.

I want to remove the opcodes of lines 47, 50... from java class file.

How can I do this using ASM?

Mat
  • 202,337
  • 40
  • 393
  • 406
SkyDragon
  • 11
  • 1

0 Answers0