I am using gcc 4.8.5
Compiling libvmdeath001.cpp (for libvmdeath001.so)
In file included from /home/rkennke/src/openjdk/shenandoah-jdk/test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/unit/libHeap.cpp:29:0:
/home/rkennke/src/openjdk/shenandoah-jdk/test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/jvmti_FollowRefObjects.cpp:38:44: error: missing initializer for member '_jvmtiHeapCallbacks::heap_iteration_callback' [-Werror=missing-field-initializers]
jvmtiHeapCallbacks g_wrongHeapCallbacks = {};
^
/home/rkennke/src/openjdk/shenandoah-jdk/test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/jvmti_FollowRefObjects.cpp:38:44: error: missing initializer for member '_jvmtiHeapCallbacks::heap_reference_callback' [-Werror=missing-field-initializers]
/home/rkennke/src/openjdk/shenandoah-jdk/test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/jvmti_FollowRefObjects.cpp:38:44: error: missing initializer for member '_jvmtiHeapCallbacks::primitive_field_callback' [-Werror=missing-field-initializers]
/home/rkennke/src/openjdk/shenandoah-jdk/test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/jvmti_FollowRefObjects.cpp:38:44: error: missing initializer for member '_jvmtiHeapCallbacks::array_primitive_value_callback' [-Werror=missing-field-initializers]
/home/rkennke/src/openjdk/shenandoah-jdk/test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/jvmti_FollowRefObjects.cpp:38:44: error: missing initializer for member '_jvmtiHeapCallbacks::string_primitive_value_callback' [-Werror=missing-field-initializers]
/home/rkennke/src/openjdk/shenandoah-jdk/test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/jvmti_FollowRefObjects.cpp:38:44: error: missing initializer for member '_jvmtiHeapCallbacks::reserved5' [-Werror=missing-field-initializers]
/home/rkennke/src/openjdk/shenandoah-jdk/test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/jvmti_FollowRefObjects.cpp:38:44: error: missing initializer for member '_jvmtiHeapCallbacks::reserved6' [-Werror=missing-field-initializers]
/home/rkennke/src/openjdk/shenandoah-jdk/test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/jvmti_FollowRefObjects.cpp:38:44: error: missing initializer for member '_jvmtiHeapCallbacks::reserved7' [-Werror=missing-field-initializers]
/home/rkennke/src/openjdk/shenandoah-jdk/test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/jvmti_FollowRefObjects.cpp:38:44: error: missing initializer for member '_jvmtiHeapCallbacks::reserved8' [-Werror=missing-field-initializers]
/home/rkennke/src/openjdk/shenandoah-jdk/test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/jvmti_FollowRefObjects.cpp:38:44: error: missing initializer for member '_jvmtiHeapCallbacks::reserved9' [-Werror=missing-field-initializers]
/home/rkennke/src/openjdk/shenandoah-jdk/test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/jvmti_FollowRefObjects.cpp:38:44: error: missing initializer for member '_jvmtiHeapCallbacks::reserved10' [-Werror=missing-field-initializers]
/home/rkennke/src/openjdk/shenandoah-jdk/test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/jvmti_FollowRefObjects.cpp:38:44: error: missing initializer for member '_jvmtiHeapCallbacks::reserved11' [-Werror=missing-field-initializers]
/home/rkennke/src/openjdk/shenandoah-jdk/test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/jvmti_FollowRefObjects.cpp:38:44: error: missing initializer for member '_jvmtiHeapCallbacks::reserved12' [-Werror=missing-field-initializers]
/home/rkennke/src/openjdk/shenandoah-jdk/test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/jvmti_FollowRefObjects.cpp:38:44: error: missing initializer for member '_jvmtiHeapCallbacks::reserved13' [-Werror=missing-field-initializers]
/home/rkennke/src/openjdk/shenandoah-jdk/test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/jvmti_FollowRefObjects.cpp:38:44: error: missing initializer for member '_jvmtiHeapCallbacks::reserved14' [-Werror=missing-field-initializers]
/home/rkennke/src/openjdk/shenandoah-jdk/test/hotspot/jtreg/vmTestbase/nsk/share/jvmti/jvmti_FollowRefObjects.cpp:38:44: error: missing initializer for member '_jvmtiHeapCallbacks::reserved15' [-Werror=missing-field-initializers]
- duplicates
-
JDK-8210194 [TESTBUG] jvmti_FollowRefObjects.cpp missing initializer for member _jvmtiHeapCallbacks::heap_reference_callback
- Resolved
- relates to
-
JDK-8209611 use C++ compiler for hotspot tests
- Resolved