[code-reflection] RFR: Replace the use of Interpreter to create Quoted instance with specialized code [v18]

Mourad Abbay mabbay at openjdk.org
Fri Jun 13 15:53:47 UTC 2025


> Creating Quoted instance was done by invoking the Interpreter. The Interpreter is too general and if someone could somehow inject any code model we will interpret that as well. This PR replace the use of the interpreter with specialized code.

Mourad Abbay has updated the pull request incrementally with three additional commits since the last revision:

 - Remove model print statement to reduce noise
 - Add tests
 - Strengthen the checks

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

Changes:
  - all: https://git.openjdk.org/babylon/pull/424/files
  - new: https://git.openjdk.org/babylon/pull/424/files/01ebf36c..528ccd84

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=babylon&pr=424&range=17
 - incr: https://webrevs.openjdk.org/?repo=babylon&pr=424&range=16-17

  Stats: 292 lines in 2 files changed: 286 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/babylon/pull/424.diff
  Fetch: git fetch https://git.openjdk.org/babylon.git pull/424/head:pull/424

PR: https://git.openjdk.org/babylon/pull/424


More information about the babylon-dev mailing list