diff -r 720fd6544b03 -r 79dc492c00ab test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach045/attach045Agent00.cpp --- a/test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach045/attach045Agent00.cpp Mon Sep 17 15:25:42 2018 -0700 +++ b/test/hotspot/jtreg/vmTestbase/nsk/jvmti/AttachOnDemand/attach045/attach045Agent00.cpp Mon Sep 17 19:36:09 2018 -0700 @@ -28,9 +28,7 @@ #include #include -#ifdef __cplusplus extern "C" { -#endif /* * Agent receives expected number of ClassLoad events and finishes work @@ -134,6 +132,4 @@ } -#ifdef __cplusplus } -#endif