[jdk21u-dev] Integrated: 8314610: hotspot can't compile with the latest of gtest because of <iomanip>
Jan Kratochvil
jkratochvil at openjdk.org
Tue Jan 2 17:01:52 UTC 2024
On Mon, 1 Jan 2024 15:17:16 GMT, Jan Kratochvil <jkratochvil at openjdk.org> wrote:
> /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 |
This pull request has now been integrated.
Changeset: 3bf9212d
Author: Jan Kratochvil <jkratochvil at openjdk.org>
Committer: Paul Hohensee <phh at openjdk.org>
URL: https://git.openjdk.org/jdk21u-dev/commit/3bf9212d432197cf3c4a787bab615b7c8519200b
Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
8314610: hotspot can't compile with the latest of gtest because of <iomanip>
Backport-of: febc34dd285c3382716e068748d4a3b0c73d87ad
-------------
PR: https://git.openjdk.org/jdk21u-dev/pull/107
More information about the jdk-updates-dev
mailing list