[code-reflection] RFR: 8373572: BytecodeGenerator throws UnsupportedOperationException for JavaOp.InvokeOp when invoke kind is SUPER. [v2]
Adam Sotona
asotona at openjdk.org
Tue Dec 16 08:40:29 UTC 2025
> 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.
Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
MH::invokeExact
-------------
Changes:
- all: https://git.openjdk.org/babylon/pull/752/files
- new: https://git.openjdk.org/babylon/pull/752/files/ba0d11f8..8b044a6a
Webrevs:
- full: https://webrevs.openjdk.org/?repo=babylon&pr=752&range=01
- incr: https://webrevs.openjdk.org/?repo=babylon&pr=752&range=00-01
Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/babylon/pull/752.diff
Fetch: git fetch https://git.openjdk.org/babylon.git pull/752/head:pull/752
PR: https://git.openjdk.org/babylon/pull/752
More information about the babylon-dev
mailing list