< prev index next >

make/data/jdwp/jdwp.spec

Print this page


   1 /*
   2  * Copyright (c) 1998, 2019, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any


 585         "Returns all modules in the target VM."
 586         "<p>Since JDWP version 9."
 587         (Out
 588         )
 589         (Reply
 590             (Repeat modules "The number of the modules that follow."
 591                 (moduleID module "One of the modules.")
 592             )
 593         )
 594         (ErrorSet
 595             (Error NOT_IMPLEMENTED)
 596             (Error VM_DEAD)
 597         )
 598     )
 599 )
 600 
 601 (CommandSet ReferenceType=2
 602     (Command Signature=1
 603         "Returns the JNI signature of a reference type. "
 604         "JNI signature formats are described in the "
 605         "<a href=\"../jni/index.html\">Java Native Interface Specification</a>"
 606         "<p>
 607         "For primitive classes "
 608         "the returned signature is the signature of the corresponding primitive "
 609         "type; for example, \"I\" is returned as the signature of the class "
 610         "represented by java.lang.Integer.TYPE."
 611         (Out
 612             (referenceType refType "The reference type ID.")
 613         )
 614         (Reply
 615             (string signature
 616                 "The JNI signature for the reference type.")
 617         )
 618         (ErrorSet
 619             (Error INVALID_CLASS     "refType is not the ID of a reference "
 620                                      "type.")
 621             (Error INVALID_OBJECT    "refType is not a known ID.")
 622             (Error VM_DEAD)
 623         )
 624     )
 625     (Command ClassLoader=2


   1 /*
   2  * Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
   3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   4  *
   5  * This code is free software; you can redistribute it and/or modify it
   6  * under the terms of the GNU General Public License version 2 only, as
   7  * published by the Free Software Foundation.  Oracle designates this
   8  * particular file as subject to the "Classpath" exception as provided
   9  * by Oracle in the LICENSE file that accompanied this code.
  10  *
  11  * This code is distributed in the hope that it will be useful, but WITHOUT
  12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
  14  * version 2 for more details (a copy is included in the LICENSE file that
  15  * accompanied this code).
  16  *
  17  * You should have received a copy of the GNU General Public License version
  18  * 2 along with this work; if not, write to the Free Software Foundation,
  19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  20  *
  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any


 585         "Returns all modules in the target VM."
 586         "<p>Since JDWP version 9."
 587         (Out
 588         )
 589         (Reply
 590             (Repeat modules "The number of the modules that follow."
 591                 (moduleID module "One of the modules.")
 592             )
 593         )
 594         (ErrorSet
 595             (Error NOT_IMPLEMENTED)
 596             (Error VM_DEAD)
 597         )
 598     )
 599 )
 600 
 601 (CommandSet ReferenceType=2
 602     (Command Signature=1
 603         "Returns the JNI signature of a reference type. "
 604         "JNI signature formats are described in the "
 605         "<a href=\"http://java.sun.com/products/jdk/1.2/docs/guide/jni/index.html\">Java Native Inteface Specification</a>"
 606         "<p>
 607         "For primitive classes "
 608         "the returned signature is the signature of the corresponding primitive "
 609         "type; for example, \"I\" is returned as the signature of the class "
 610         "represented by java.lang.Integer.TYPE."
 611         (Out
 612             (referenceType refType "The reference type ID.")
 613         )
 614         (Reply
 615             (string signature
 616                 "The JNI signature for the reference type.")
 617         )
 618         (ErrorSet
 619             (Error INVALID_CLASS     "refType is not the ID of a reference "
 620                                      "type.")
 621             (Error INVALID_OBJECT    "refType is not a known ID.")
 622             (Error VM_DEAD)
 623         )
 624     )
 625     (Command ClassLoader=2


< prev index next >