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

Adam Sotona asotona at openjdk.org
Mon Dec 1 17:12:23 UTC 2025


On Mon, 1 Dec 2025 16:59:07 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

>> Adam Sotona has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   test update
>
> 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`?

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

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


More information about the babylon-dev mailing list