RFR: 8359335: Template-Framework Library: Primitive Types subtyping

Manuel Hässig mhaessig at openjdk.org
Wed Jan 21 16:09:24 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:
 - [ ] Github Actions
 - [ ] tier1, tier2

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

Commit messages:
 - Implement subtyping for primitive types in templates

Changes: https://git.openjdk.org/jdk/pull/29349/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=29349&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8359335
  Stats: 38 lines in 3 files changed: 31 ins; 0 del; 7 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