RFR: 8335108: Build error after JDK-8333658 due to class templates

Sonia Zaldana Calles szaldana at openjdk.org
Wed Jun 26 16:13:31 UTC 2024


Hi all, 

This PR addresses [8335108](https://bugs.openjdk.org/browse/JDK-8335108). 

The error arises as template-id is not allowed for constructor/destructor in C++20. 

Testing: 
- [x] Compilation succeeds with g++ 14.1.1.

Thanks, 
Sonia

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

Commit messages:
 - 8335108: Build error after JDK-8333658 due to class templates

Changes: https://git.openjdk.org/jdk/pull/19890/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=19890&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8335108
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/19890.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/19890/head:pull/19890

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


More information about the hotspot-dev mailing list