[code-reflection] Integrated: 8373572: BytecodeGenerator throws UnsupportedOperationException for JavaOp.InvokeOp when invoke kind is SUPER.
Adam Sotona
asotona at openjdk.org
Tue Dec 16 15:47:33 UTC 2025
On Mon, 15 Dec 2025 17:39:47 GMT, Adam Sotona <asotona at openjdk.org> wrote:
> We cannot generate an invokespecial as it will result in a verify error, since the owner is not assignable to generated hidden class.
>
> This patch constructs method handle via lookup.findSpecial using the lookup's class as the specialCaller.
> Original lookup is stored in class data of the constructed hidden class.
This pull request has now been integrated.
Changeset: f70f53ac
Author: Adam Sotona <asotona at openjdk.org>
URL: https://git.openjdk.org/babylon/commit/f70f53ac2b56c7f1e0968e4a3115b92e9447f1c9
Stats: 57 lines in 2 files changed: 29 ins; 19 del; 9 mod
8373572: BytecodeGenerator throws UnsupportedOperationException for JavaOp.InvokeOp when invoke kind is SUPER.
-------------
PR: https://git.openjdk.org/babylon/pull/752
More information about the babylon-dev
mailing list