[code-reflection] RFR: Make Quotable a marker interface [v7]
Paul Sandoz
psandoz at openjdk.org
Mon Jan 13 16:57:59 UTC 2025
On Mon, 13 Jan 2025 15:41:43 GMT, Mourad Abbay <mabbay at openjdk.org> wrote:
>> In this PR, we make Quotable a marker interface. This PR is based on #301.
>
> Mourad Abbay has updated the pull request incrementally with one additional commit since the last revision:
>
> Handle the case where a Quotable instance's class is a Proxy.
src/jdk.incubator.code/share/classes/jdk/incubator/code/interpreter/QuotableLambdaOpInvocationHandler.java line 9:
> 7: import java.util.Objects;
> 8:
> 9: public class QuotableLambdaOpInvocationHandler implements InvocationHandler {
Can you enclose this class in the `Interpreter`? Did you try if it works as anonymous inner class of the `newProxyInstance` call?
-------------
PR Review Comment: https://git.openjdk.org/babylon/pull/302#discussion_r1913508401
More information about the babylon-dev
mailing list