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

Jan Kratochvil jkratochvil at openjdk.org
Tue May 14 05:19:09 UTC 2024


It is needed to build OpenJDK-17 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/jdk17u-dev/pull/2466)), [JDK-8331352](https://bugs.openjdk.org/browse/JDK-8331352) (this [backport](https://github.com/openjdk/jdk17u-dev/pull/2467)) and [JDK-8324243](https://bugs.openjdk.org/browse/JDK-8324243) ([backport](https://github.com/openjdk/jdk17u-dev/pull/2468)).
Git cherry-pick was not clean but it was easy to apply.

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

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

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

PR: https://git.openjdk.org/jdk17u-dev/pull/2467


More information about the jdk-updates-dev mailing list