--- old/src/jdk.jdwp.agent/share/native/libjdwp/MethodImpl.c 2020-01-10 19:17:48.120333600 +0000 +++ new/src/jdk.jdwp.agent/share/native/libjdwp/MethodImpl.c 2020-01-10 19:17:47.417318808 +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 @@ -231,10 +231,13 @@ return JNI_TRUE; } -void *Method_Cmds[] = { (void *)0x5 - ,(void *)lineTable - ,(void *)variableTable - ,(void *)bytecodes - ,(void *)isObsolete - ,(void *)variableTableWithGenerics +CommandSet Method_Cmds = { + 5, "Method", + { + {lineTable, "lineTable"}, + {variableTable, "variableTable"}, + {bytecodes, "bytecodes"}, + {isObsolete, "isObsolete"}, + {variableTableWithGenerics, "variableTableWithGenerics"} + } };