RFR: JDK-8315457 Implementation of String Templates (Second Preview) [v3]

Jim Laskey jlaskey at openjdk.org
Tue Oct 17 16:03:25 UTC 2023


> Update String Templates for a second preview. With the addition of
> 
> - Expression type and throws are determined from the `process` method of the processor type and not the processor type.
> 
> - Qualified `STR` and `RAW` are treated the same as unqualified `STR` and `RAW` .
> 
> - Raw (generic) process types are no longer an error.

Jim Laskey has updated the pull request incrementally with one additional commit since the last revision:

  Cache process method type in JCStringTemplate

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/16202/files
  - new: https://git.openjdk.org/jdk/pull/16202/files/f077ef6f..ae136779

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=16202&range=02
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=16202&range=01-02

  Stats: 13 lines in 3 files changed: 2 ins; 10 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/16202.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/16202/head:pull/16202

PR: https://git.openjdk.org/jdk/pull/16202


More information about the compiler-dev mailing list