[code-reflection] RFR: Replace opField with opMethod for lambdas. [v2]

Mourad Abbay mabbay at openjdk.org
Tue Jan 7 18:39:52 UTC 2025


On Mon, 6 Jan 2025 19:09:40 GMT, Paul Sandoz <psandoz at openjdk.org> wrote:

>> Mourad Abbay has updated the pull request incrementally with two additional commits since the last revision:
>> 
>>  - Call ModuleLayer#findLoader once and cache the result
>>  - Change JCTree#codeModel 's type to MethodSymbol
>
> src/jdk.incubator.code/share/classes/jdk/incubator/code/internal/QuotedHelper.java line 40:
> 
>> 38:         return (Quoted)Interpreter.invoke(lookup, op, args);
>> 39:     }
>> 40:     public static Quoted makeQuoted(MethodHandles.Lookup lookup, FuncOp op, Object[] args) {
> 
> Can the prior method accepting a string be removed?

I think so

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

PR Review Comment: https://git.openjdk.org/babylon/pull/301#discussion_r1905893588


More information about the babylon-dev mailing list