diff -r 720fd6544b03 -r 79dc492c00ab test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/contention/TC02/tc02t001/tc02t001.cpp --- a/test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/contention/TC02/tc02t001/tc02t001.cpp Mon Sep 17 15:25:42 2018 -0700 +++ b/test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/contention/TC02/tc02t001/tc02t001.cpp Mon Sep 17 19:36:09 2018 -0700 @@ -27,9 +27,7 @@ #include "agent_common.h" #include "jvmti_tools.h" -#ifdef __cplusplus extern "C" { -#endif /* ========================================================================== */ @@ -386,6 +384,4 @@ /* ========================================================================== */ -#ifdef __cplusplus } -#endif