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

Xin Liu xliu at openjdk.org
Sat Aug 19 17:47:34 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.

This pull request has now been integrated.

Changeset: febc34dd
Author:    Xin Liu <xliu at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/febc34dd285c3382716e068748d4a3b0c73d87ad
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>

Reviewed-by: jiefu, stuefe

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

PR: https://git.openjdk.org/jdk/pull/15352


More information about the hotspot-gc-dev mailing list