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

Jan Kratochvil jkratochvil at openjdk.org
Sun May 12 14:15:19 UTC 2024


It is needed to build OpenJDK-22 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/jdk22u/pull/197)), [JDK-8331352](https://bugs.openjdk.org/browse/JDK-8331352) (this [backport](https://github.com/openjdk/jdk22u/pull/198)) and [JDK-8324243](https://bugs.openjdk.org/browse/JDK-8324243) ([backport](https://github.com/openjdk/jdk22u/pull/199)).
Git cherry-pick was clean.

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

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

Changes: https://git.openjdk.org/jdk22u/pull/198/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk22u&pr=198&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/jdk22u/pull/198.diff
  Fetch: git fetch https://git.openjdk.org/jdk22u.git pull/198/head:pull/198

PR: https://git.openjdk.org/jdk22u/pull/198


More information about the jdk-updates-dev mailing list