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

Mourad Abbay mabbay at openjdk.org
Fri May 30 23:29:25 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 two additional commits since the last revision:

 - Remove unused methods
 - Update QuotedHelper.makeQuoted to use CoreOp.quotedOp (that contains checks)

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

Changes:
  - all: https://git.openjdk.org/babylon/pull/424/files
  - new: https://git.openjdk.org/babylon/pull/424/files/01961184..04ab281d

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

  Stats: 40 lines in 2 files changed: 8 ins; 16 del; 16 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