diff --git a/test/hotspot/jtreg/vmTestbase/nsk/jvmti/unit/FollowReferences/followref003/followref003.cpp b/test/hotspot/jtreg/vmTestbase/nsk/jvmti/unit/FollowReferences/followref003/followref003.cpp index 2a21d891681..1f0bf913a2b 100644 --- a/test/hotspot/jtreg/vmTestbase/nsk/jvmti/unit/FollowReferences/followref003/followref003.cpp +++ b/test/hotspot/jtreg/vmTestbase/nsk/jvmti/unit/FollowReferences/followref003/followref003.cpp @@ -823,7 +823,7 @@ jint JNICALL heapReferenceCallback( } break; - case JVMTI_REFERENCE_ARRAY_ELEMENT: + case JVMTI_HEAP_REFERENCE_ARRAY_ELEMENT: case JVMTI_HEAP_REFERENCE_JNI_GLOBAL: case JVMTI_HEAP_REFERENCE_SYSTEM_CLASS: case JVMTI_HEAP_REFERENCE_MONITOR: