Home | History | Annotate | Download | only in 123-dex-transform-invalid-virtual-to-direct
      1 This test checks that we convert invoke-virtual calls to private
      2 methods with invoke-direct calls.
      3 
      4 The Zorch.class file is manually created by compiling Zorch.java
      5 with java6 and manually editing the file to replace the opcode at
      6 position 0xE9 with 0xB6 (invokevirtual) instead of 0xB7 (invokespecial).
      7 
      8 This test compares emitted code against a known-good (via eyeballing)
      9 version, so it is possible for this test to spuriously fail if other
     10 aspects of conversion end up altering the output in innocuous ways.
     11