[code-reflection] RFR: BytecodeGenerator cleanup and switch support [v5]

Mourad Abbay mabbay at openjdk.org
Mon Dec 1 19:03:29 UTC 2025


On Mon, 1 Dec 2025 17:09:40 GMT, Adam Sotona <asotona at openjdk.org> wrote:

>> src/jdk.incubator.code/share/classes/jdk/incubator/code/Block.java line 119:
>> 
>>> 117:          * @param arguments the target block arguments, a copy will be made as needed.
>>> 118:          */
>>> 119:         public Reference(Block target, List<? extends Value> arguments) {
>> 
>> Why is this made public?
>
> @mabbay Do you need a help to fix the `Block.Reference` construction in the `BytecodeGenerator::getLabelsAndTargets`?

Yes

-------------

PR Review Comment: https://git.openjdk.org/babylon/pull/706#discussion_r2578275834


More information about the babylon-dev mailing list