xref: /aosp_15_r20/dalvik/dx/tests/123-dex-transform-invalid-virtual-to-direct/info.txt (revision 055d459012065f78d96b68be8421640240ddf631)
1*055d4590SKeyi GuiThis test checks that we convert invoke-virtual calls to private
2*055d4590SKeyi Guimethods with invoke-direct calls.
3*055d4590SKeyi Gui
4*055d4590SKeyi GuiThe Zorch.class file is manually created by compiling Zorch.java
5*055d4590SKeyi Guiwith java6 and manually editing the file to replace the opcode at
6*055d4590SKeyi Guiposition 0xE9 with 0xB6 (invokevirtual) instead of 0xB7 (invokespecial).
7*055d4590SKeyi Gui
8*055d4590SKeyi GuiThis test compares emitted code against a known-good (via eyeballing)
9*055d4590SKeyi Guiversion, so it is possible for this test to spuriously fail if other
10*055d4590SKeyi Guiaspects of conversion end up altering the output in innocuous ways.
11