RFR: 8266206: Build failure after JDK-8264752 with older GCCs
Aleksey Shipilev
shade at openjdk.java.net
Wed Apr 28 11:31:15 UTC 2021
See the bug report for error log. It seems older GCCs dislike `const char*` as template argument without it being the `constexpr`. Since the bug is marked for eventual backports to 8u and 11u, I think we better play it safe and drop the template argument to `bool`, and select the message in the method body.
Additional testing:
- [x] build passes with GCC 6.3.0
- [x] build passes with GCC 9.3.0
- [x] `jdk_jfr` passes
-------------
Commit messages:
- 8266206: Build failure after JDK-8264752 with older GCCs
Changes: https://git.openjdk.java.net/jdk/pull/3759/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=3759&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8266206
Stats: 4 lines in 1 file changed: 1 ins; 0 del; 3 mod
Patch: https://git.openjdk.java.net/jdk/pull/3759.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/3759/head:pull/3759
PR: https://git.openjdk.java.net/jdk/pull/3759
More information about the hotspot-jfr-dev
mailing list