< prev index next >

src/jdk.jdwp.agent/share/native/libjdwp/ThreadGroupReferenceImpl.c

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1998, 2013, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1998, 2020, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -133,9 +133,13 @@
      } END_WITH_LOCAL_REFS(env);
 
      return JNI_TRUE;
 }
 
-void *ThreadGroupReference_Cmds[] = { (void *)3,
-                                      (void *)name,
-                                      (void *)parent,
-                                      (void *)children };
+CommandSet ThreadGroupReference_Cmds = {
+    3, "ThreadGroupReference",
+    {
+        {name, "Name"},
+        {parent, "Parent"},
+        {children, "Children"}
+    }
+};
< prev index next >