--- old/src/jdk.jdwp.agent/share/native/libjdwp/ClassTypeImpl.c 2020-01-10 19:17:35.511068299 +0000 +++ new/src/jdk.jdwp.agent/share/native/libjdwp/ClassTypeImpl.c 2020-01-10 19:17:34.812053592 +0000 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2005, 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 @@ -175,9 +175,12 @@ return sharedInvoke(in, out); } -void *ClassType_Cmds[] = { (void *)0x4 - ,(void *)superclass - ,(void *)setValues - ,(void *)invokeStatic - ,(void *)invokeStatic +CommandSet ClassType_Cmds = { + 4, "ClassType", + { + {superclass, "Superclass"}, + {setValues, "SetValues"}, + {invokeStatic, "InvokeMethod"}, + {invokeStatic, "NewInstance"} + } };