-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow
invokespecial
and invokestatic
to refer to interface methods.
Previously the parser would only work if `invokespecial` or `invokestatic` referred to an ordinary method, and would fail if it found a reference to an interface method. But according to section 6.5 of the JVM spec, "the run-time constant pool item ... must be a symbolic reference to a method or an interface method." This patch updates the parser to comply with the spec.
- Loading branch information
Brian Huffman
committed
Nov 19, 2020
1 parent
5368a84
commit 8ff37de
Showing
1 changed file
with
19 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters