On Fri, 3 Mar 2023 15:51:25 GMT, Adam Sotona <[email protected]> wrote:
>> src/java.base/share/classes/jdk/internal/classfile/instruction/NewObjectInstruction.java
>> line 38:
>>
>>> 36: * of a {@link CodeModel}.
>>> 37: */
>>> 38: public sealed interface NewObjectInstruction extends Instruction
>>
>> Should we add a helper method on `CodeBuilder` that does the new + dup +
>> invoke special <init> dance?
>
> That is great RFE for `CodeBuilder`, thanks.
collected and tracked in the mailing list
-------------
PR: https://git.openjdk.org/jdk/pull/10982