[jdk21u-dev] RFR: 8314610: hotspot can't compile with the latest of gtest because of <iomanip>
Jan Kratochvil
jkratochvil at openjdk.org
Mon Jan 1 15:23:05 UTC 2024
/home/azul/azul/jdk21u-git/test/hotspot/gtest/gc/shared/test_memset_with_concurrent_readers.cpp: In member function 'virtual void gc_memset_with_concurrent_readers_Test::TestBody()':
/home/azul/azul/jdk21u-git/test/hotspot/gtest/gc/shared/test_memset_with_concurrent_readers.cpp:82:34: error: 'setw' is not a member of 'std'
82 | << std::setw(2) << line_byte(lp, 0) << " "
| ^~~~
/home/azul/azul/jdk21u-git/test/hotspot/gtest/gc/shared/test_memset_with_concurrent_readers.cpp:34:1: note: 'std::setw' is defined in header '<iomanip>'; did you forget to '#include <iomanip>'?
33 | #include "unittest.hpp"
+++ |+#include <iomanip>
34 |
-------------
Commit messages:
- 8314610: hotspot can't compile with the latest of gtest because of <iomanip>
Changes: https://git.openjdk.org/jdk21u-dev/pull/107/files
Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=107&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8314610
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk21u-dev/pull/107.diff
Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/107/head:pull/107
PR: https://git.openjdk.org/jdk21u-dev/pull/107
More information about the jdk-updates-dev
mailing list