-
Bug
-
Resolution: Fixed
-
P4
-
None
-
Fedora 40 x86_64
-
b23
-
x86_64
-
linux
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8332172 | 22.0.2 | Jan Kratochvil | P4 | Resolved | Fixed | b06 |
JDK-8332290 | 21.0.4 | Jan Kratochvil | P4 | Resolved | Fixed | b04 |
JDK-8332385 | 17.0.12 | Jan Kratochvil | P4 | Resolved | Fixed | b04 |
In file included from src/hotspot/share/memory/allocation.hpp:30,
from src/hotspot/share/ci/ciBaseObject.hpp:29,
from src/hotspot/share/ci/ciMetadata.hpp:28,
from src/hotspot/share/ci/ciType.hpp:28,
from src/hotspot/share/ci/ciKlass.hpp:28,
from src/hotspot/share/ci/ciArrayKlass.hpp:28,
from src/hotspot/share/ci/ciArray.hpp:28,
from src/hotspot/share/ci/compilerInterface.hpp:28,
from src/hotspot/share/compiler/abstractCompiler.hpp:28,
from src/hotspot/share/compiler/abstractCompiler.cpp:25:
src/hotspot/share/utilities/linkedlist.hpp:85:15: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
85 | NONCOPYABLE(LinkedList<E>);
| ^~~~~~~~~~~~~
src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro ‘NONCOPYABLE’
87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */
| ^
src/hotspot/share/utilities/linkedlist.hpp:85:15: note: remove the ‘< >’
85 | NONCOPYABLE(LinkedList<E>);
| ^~~~~~~~~~~~~
src/hotspot/share/utilities/globalDefinitions.hpp:87:26: note: in definition of macro ‘NONCOPYABLE’
87 | #define NONCOPYABLE(C) C(C const&) = delete; C& operator=(C const&) = delete /* next token must be ; */
| ^
In file included from src/hotspot/share/gc/z/zGranuleMap.inline.hpp:30,
from src/hotspot/share/gc/z/zForwardingTable.inline.hpp:32,
from src/hotspot/share/gc/z/zHeap.inline.hpp:30,
from src/hotspot/share/gc/z/zGeneration.inline.hpp:30,
from src/hotspot/share/gc/z/zBarrier.inline.hpp:30,
from src/hotspot/share/gc/z/zBarrierSet.inline.hpp:31,
from src/hotspot/share/gc/shared/barrierSetConfig.inline.hpp:44,
from src/hotspot/share/oops/access.inline.hpp:31,
from src/hotspot/share/memory/iterator.inline.hpp:32,
from src/hotspot/share/oops/oop.inline.hpp:31,
from src/hotspot/share/compiler/abstractDisassembler.cpp:32:
src/hotspot/share/gc/z/zArray.inline.hpp:99:21: error: template-id not allowed for destructor in C++20 [-Werror=template-id-cdtor]
99 | ZActivatedArray<T>::~ZActivatedArray<T>() {
| ^
src/hotspot/share/gc/z/zArray.inline.hpp:99:21: note: remove the ‘< >’
In file included from src/hotspot/share/opto/bytecodeInfo.cpp:38:
src/hotspot/share/utilities/events.hpp:102:18: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
102 | EventLogBase<T>(const char* name, const char* handle, int length = LogEventsBufferEntries):
| ^
src/hotspot/share/utilities/events.hpp:102:18: note: remove the ‘< >’
In file included from src/hotspot/share/classfile/metadataOnStackMark.hpp:29,
from src/hotspot/share/classfile/classLoaderDataGraph.cpp:30:
src/hotspot/share/utilities/chunkedList.hpp:47:20: error: template-id not allowed for constructor in C++20 [-Werror=template-id-cdtor]
47 | ChunkedList<T, F>() : _top(_values), _next_used(nullptr), _next_free(nullptr) {}
| ^
src/hotspot/share/utilities/chunkedList.hpp:47:20: note: remove the ‘< >’
- backported by
-
JDK-8332172 error: template-id not allowed for constructor/destructor in C++20
- Resolved
-
JDK-8332290 error: template-id not allowed for constructor/destructor in C++20
- Resolved
-
JDK-8332385 error: template-id not allowed for constructor/destructor in C++20
- Resolved
- relates to
-
JDK-8328997 Remove unnecessary template parameter lists in GrowableArray
- Resolved
-
JDK-8335108 Build error after JDK-8333658 due to class templates
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/261ad5e5
-
Commit openjdk/jdk21u-dev/87318f87
-
Commit openjdk/jdk22u/2ec7dbf1
-
Commit openjdk/jdk/45792c58
-
Review openjdk/jdk17u-dev/2467
-
Review openjdk/jdk21u-dev/565
-
Review openjdk/jdk22u/198
-
Review openjdk/jdk/19009