-
Notifications
You must be signed in to change notification settings - Fork 737
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Properly handle resolve-time invokeDynamic errors for OJDK MHs
This patch fixes #14990. For OJDK MHs invokeDynamic resolve-time errors need to be wrapped in BootstrapMethodErrors and thrown during invoke-time. However, prior to Java 11, if a CallSite initially binds to null the error needs to be thrown during resolution to ensure that resolution is reattempted by the interpreter. This patch also updates the IndyTest.java test case to conform to the spec for OJDK MHs. Issues: #14990 Signed-off-by: Nathan Henderson <[email protected]>
- Loading branch information
1 parent
df46709
commit d60b284
Showing
4 changed files
with
72 additions
and
64 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
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
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
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