From ae7ae847d4cb0dc2caf7bdc6a82673287cba8d30 Mon Sep 17 00:00:00 2001 From: Kim Barrett Date: Fri, 23 May 2025 06:54:51 +0000 Subject: [PATCH] 8356016: Build fails by clang(XCode 16.3) on macOS after JDK-8347719 Reviewed-by: shade, mgronlun --- test/hotspot/gtest/jfr/test_networkUtilization.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/hotspot/gtest/jfr/test_networkUtilization.cpp b/test/hotspot/gtest/jfr/test_networkUtilization.cpp index fe7296eb719..46c92dc4646 100644 --- a/test/hotspot/gtest/jfr/test_networkUtilization.cpp +++ b/test/hotspot/gtest/jfr/test_networkUtilization.cpp @@ -39,12 +39,13 @@ #include "logging/log.hpp" #include "runtime/os_perf.hpp" #include "utilities/globalDefinitions.hpp" -#include "utilities/growableArray.hpp" #include "utilities/vmassert_uninstall.hpp" -#include +BEGIN_ALLOW_FORBIDDEN_FUNCTIONS #include -#include +#include +#include +END_ALLOW_FORBIDDEN_FUNCTIONS #include "utilities/vmassert_reinstall.hpp" #include "unittest.hpp" @@ -68,7 +69,6 @@ namespace { class MockJfrCheckpointWriter { public: traceid current; - std::map ids; const JfrCheckpointContext context() const { return JfrCheckpointContext();