RFR: 8359335: Template-Framework Library: Primitive Types subtyping [v2]

Manuel Hässig mhaessig at openjdk.org
Wed Jan 28 10:31:25 UTC 2026


> This PR implements the subtype relation for primitive types in the Template Framework Library according to JLS §4.10.1. Further, this PR extends the primitive type example to test the addition.
> 
> Testing:
>  - [x] Github Actions
>  - [x] tier1, tier2

Manuel Hässig has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:

 - Add floating point division operations using explicits casts.
 - Introduce control over how expressions are nested
 - Merge branch 'master' into JDK-8359335-template-subtyping
 - Implement subtyping for primitive types in templates

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/29349/files
  - new: https://git.openjdk.org/jdk/pull/29349/files/a0ebfef2..9259b86f

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

  Stats: 25594 lines in 704 files changed: 12171 ins; 4381 del; 9042 mod
  Patch: https://git.openjdk.org/jdk/pull/29349.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/29349/head:pull/29349

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


More information about the hotspot-compiler-dev mailing list