[code-reflection] RFR: Drop support for quoted structural lambdas [v2]

Maurizio Cimadamore mcimadamore at openjdk.org
Thu Nov 6 19:08:45 UTC 2025


On Thu, 6 Nov 2025 18:02:09 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

> To support targeting to `Quoted` we had to add `ClosureOp` and `ClosureCallOp`. We could also remove these too, and their use in the interpreter (the byte code generator never used them).

Is that ok to do in another PR?

> test/jdk/java/lang/reflect/code/bytecode/TestQuoted.java line 49:
> 
>> 47:     @Test
>> 48:     public void testQuoted() throws Throwable {
>> 49:         Quotable q = (IntBinaryOperator & Quotable)(int i, int j) -> {
> 
> We can delete this test, as there are others testing lambda expressions.

Wait... do you mean deleting the full test?

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

PR Comment: https://git.openjdk.org/babylon/pull/667#issuecomment-3498972588
PR Review Comment: https://git.openjdk.org/babylon/pull/667#discussion_r2500447854


More information about the babylon-dev mailing list