RFR(XS) 8239854: Cannot build gtest without PCH after 8239235. Missing include in test/hotspot/gtest/runtime/test_signatureStream.cpp

Aleksey Shipilev shade at redhat.com
Mon Feb 24 10:40:52 UTC 2020


On 2/24/20 11:35 AM, Reingruber, Richard wrote:
> diff --git a/test/hotspot/gtest/runtime/test_signatureStream.cpp b/test/hotspot/gtest/runtime/test_signatureStream.cpp
> --- a/test/hotspot/gtest/runtime/test_signatureStream.cpp
> +++ b/test/hotspot/gtest/runtime/test_signatureStream.cpp
> @@ -22,6 +22,7 @@
>   */
>  
>  #include "precompiled.hpp"
> +#include "memory/resourceArea.hpp"
>  #include "runtime/interfaceSupport.inline.hpp"
>  #include "classfile/symbolTable.hpp"
>  #include "runtime/signature.hpp"
> @@ -85,4 +86,4 @@
>  
>    ASSERT_EQ(foo->refcount(), r1) << "refcount should have decremented";
>  
> -}
> \ No newline at end of file
> +}

Looks good and trivial.

Maybe drop the newline hunk? I have no strong preference here.

Maybe synopsis could be a bit shorter?
 "Non-PCH gtest build fails after JDK-8239235 due to a missing include"

-- 
Thanks,
-Aleksey



More information about the hotspot-runtime-dev mailing list