RFR: 8314610: hotspot can't compile with the latest of gtest because of <iomanip>

Thomas Stuefe stuefe at openjdk.org
Sat Aug 19 06:39:23 UTC 2023


On Fri, 18 Aug 2023 23:15:09 GMT, Xin Liu <xliu at openjdk.org> wrote:

> This patch fixed a compilation error when we use the latest gtest. Because gtest has removed 
> <iomanip> from its header files([link](https://github.com/google/googletest/commit/9ef5e8226919b56d6760b48258e706d819409994)),  we should include it by ourselves, or we can't find the definition of std::setw.

+1

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

Marked as reviewed by stuefe (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/15352#pullrequestreview-1585586371


More information about the hotspot-gc-dev mailing list