[jdk21u-dev] RFR: 8331352: error: template-id not allowed for constructor/destructor in C++20

Jan Kratochvil jkratochvil at openjdk.org
Mon May 13 15:03:03 UTC 2024


It is needed to build OpenJDK-21 on Fedora 40 x86_64 (gcc-14.1.1-1.fc40.x86_64).
It needs all of [JDK-8328997](https://bugs.openjdk.org/browse/JDK-8328997) ([backport](https://github.com/openjdk/jdk21u-dev/pull/564)), [JDK-8331352](https://bugs.openjdk.org/browse/JDK-8331352) (this [backport](https://github.com/openjdk/jdk21u-dev/pull/565)) and [JDK-8324243](https://bugs.openjdk.org/browse/JDK-8324243) ([backport](https://github.com/openjdk/jdk21u-dev/pull/566)).
Git cherry-pick was clean.

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

Commit messages:
 - 8331352: error: template-id not allowed for constructor/destructor in C++20

Changes: https://git.openjdk.org/jdk21u-dev/pull/565/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=565&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8331352
  Stats: 4 lines in 4 files changed: 0 ins; 0 del; 4 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/565.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/565/head:pull/565

PR: https://git.openjdk.org/jdk21u-dev/pull/565


More information about the jdk-updates-dev mailing list