File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
test/hotspot/jtreg/vmTestbase/nsk
jvmti/unit/FollowReferences Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ static const jlong CHAIN_CLASS_TAG = 99;
6969static const jlong ROOT_OBJECT_TAG = 10 ;
7070static const jlong CHAIN_OBJECT_TAG = 100 ;
7171
72- static jvmtiHeapCallbacks heapCallbacks = {} ;
72+ static jvmtiHeapCallbacks heapCallbacks;
7373
7474/* This array has to be up-to-date with the jvmtiHeapReferenceKind enum */
7575static const char * ref_kind_str[28 ] = {
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ static jlong chainClassTag = 99;
6767static jlong rootObjectTag = 10 ;
6868static jlong chainObjectTag = 100 ;
6969
70- static jvmtiHeapCallbacks heapCallbacks = {} ;
70+ static jvmtiHeapCallbacks heapCallbacks;
7171
7272static const char * ref_kind_str[28 ] = {
7373 " unknown_0" ,
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ static jlong chainObjectTag = 100;
9292#define DUMMY_STRING_ARR_SLOT 11
9393
9494
95- static jvmtiHeapCallbacks heapCallbacks = {} ;
95+ static jvmtiHeapCallbacks heapCallbacks;
9696
9797static const char * ref_kind_str[28 ] = {
9898 " unknown_0" ,
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ extern "C" {
3333
3434int g_fakeUserData = 0 ;
3535int g_userDataError = 0 ;
36- jvmtiHeapCallbacks g_wrongHeapCallbacks = {} ;
36+ jvmtiHeapCallbacks g_wrongHeapCallbacks;
3737
3838/* This array has to be up-to-date with the jvmtiHeapReferenceKind enum */
3939const char * const g_refKindStr[28 ] = {
You can’t perform that action at this time.
0 commit comments