⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 jdwpconstants.java

📁 gcc的组建
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
/* JdwpConstants.java -- Constants defined by JDWP 1.4 specification   Copyright (C) 2005 Free Software FoundationThis file is part of GNU Classpath.GNU Classpath is free software; you can redistribute it and/or modifyit under the terms of the GNU General Public License as published bythe Free Software Foundation; either version 2, or (at your option)any later version.GNU Classpath is distributed in the hope that it will be useful, butWITHOUT ANY WARRANTY; without even the implied warranty ofMERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNUGeneral Public License for more details.You should have received a copy of the GNU General Public Licensealong with GNU Classpath; see the file COPYING.  If not, write to theFree Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA02110-1301 USA.Linking this library statically or dynamically with other modules ismaking a combined work based on this library.  Thus, the terms andconditions of the GNU General Public License cover the wholecombination.As a special exception, the copyright holders of this library give youpermission to link this library with independent modules to produce anexecutable, regardless of the license terms of these independentmodules, and to copy and distribute the resulting executable underterms of your choice, provided that you also meet, for each linkedterms of your choice, provided that you also meet, for each linkedindependent module, the terms and conditions of the license of thatmodule.  An independent module is a module which is not derived fromor based on this library.  If you modify this library, you may extendthis exception to your version of the library, but you are notobligated to do so.  If you do not wish to do so, delete thisexception statement from your version. */package gnu.classpath.jdwp;/** * Constants defined by JDWP specification. * * @author Keith Seitz  (keiths@redhat.com) */public class JdwpConstants{  public static final class Version  {    public static final int MAJOR = 1;    public static final int MINOR = 4;  }    ////////////////////////////////////////  //           Commands/Sets            //  ////////////////////////////////////////  public static final class CommandSet  {    public static final class VirtualMachine    {      public static final byte CS_VALUE = 1;      // commands      public static final byte VERSION = 1;      public static final byte CLASSES_BY_SIGNATURE = 2;      public static final byte ALL_CLASSES = 3;      public static final byte ALL_THREADS = 4;      public static final byte TOP_LEVEL_THREAD_GROUPS = 5;      public static final byte DISPOSE = 6;      public static final byte IDSIZES = 7;      public static final byte SUSPEND = 8;      public static final byte RESUME = 9;      public static final byte EXIT = 10;      public static final byte CREATE_STRING = 11;      public static final byte CAPABILITIES = 12;      public static final byte CLASS_PATHS = 13;      public static final byte DISPOSE_OBJECTS = 14;      public static final byte HOLD_EVENTS = 15;       public static final byte RELEASE_EVENTS = 16;      public static final byte CAPABILITIES_NEW = 17;      public static final byte REDEFINE_CLASSES = 18;      public static final byte SET_DEFAULT_STRATUM = 19;      public static final byte ALL_CLASSES_WITH_GENERIC = 20;    }    public static final class ReferenceType    {      public static final byte CS_VALUE = 2;      // commands      public static final byte SIGNATURE= 1;      public static final byte CLASS_LOADER= 2;      public static final byte MODIFIERS = 3;      public static final byte FIELDS = 4;      public static final byte METHODS = 5;       public static final byte GET_VALUES = 6;      public static final byte SOURCE_FILE = 7;      public static final byte NESTED_TYPES = 8;      public static final byte STATUS = 9;      public static final byte INTERFACES= 10;      public static final byte CLASS_OBJECT = 11;      public static final byte SOURCE_DEBUG_EXTENSION = 12;      public static final byte SIGNATURE_WITH_GENERIC = 13;      public static final byte FIELDS_WITH_GENERIC = 14;      public static final byte METHODS_WITH_GENERIC = 15;    }    public static final class ClassType    {      public static final byte CS_VALUE = 3;      // commands      public static final byte SUPERCLASS = 1;      public static final byte SET_VALUES = 2;      public static final byte INVOKE_METHOD = 3;      public static final byte NEW_INSTANCE = 4;    }    public static final class ArrayType    {      public static final byte CS_VALUE = 4;      // commands      public static final byte NEW_INSTANCE = 1;    }    public static final class InterfaceType    {      public static final byte CS_VALUE = 5;      // commands    }    public static final class Method    {      public static final byte CS_VALUE = 6;      // commands      public static final byte LINE_TABLE = 1;      public static final byte VARIABLE_TABLE = 2;      public static final byte BYTE_CODES = 3;      public static final byte IS_OBSOLETE = 4;      public static final byte VARIABLE_TABLE_WITH_GENERIC = 5;    }    public static final class Field    {      public static final byte CS_VALUE = 8;      // commands    }    public static final class ObjectReference    {      public static final byte CS_VALUE = 9;      // commands      public static final byte REFERENCE_TYPE = 1;      public static final byte GET_VALUES = 2;      public static final byte SET_VALUES = 3;      public static final byte MONITOR_INFO = 5;      public static final byte INVOKE_METHOD = 6;      public static final byte DISABLE_COLLECTION = 7;      public static final byte ENABLE_COLLECTION = 8;      public static final byte IS_COLLECTED = 9;    }    public static final class StringReference    {      public static final byte CS_VALUE = 10;      // commands      public static final byte VALUE = 1;    }    public static final class ThreadReference    {      public static final byte CS_VALUE = 11;      // commands      public static final byte NAME = 1;      public static final byte SUSPEND = 2;      public static final byte RESUME = 3;      public static final byte STATUS = 4;      public static final byte THREAD_GROUP = 5;      public static final byte FRAMES = 6;      public static final byte FRAME_COUNT = 7;      public static final byte OWNED_MONITORS = 8;      public static final byte CURRENT_CONTENDED_MONITOR = 9;      public static final byte STOP = 10;      public static final byte INTERRUPT = 11;      public static final byte SUSPEND_COUNT = 12;    }    public static final class ThreadGroupReference    {      public static final byte CS_VALUE = 12;      // commands      public static final byte NAME = 1;      public static final byte PARENT = 2;      public static final byte CHILDREN = 3;    }    public static final class ArrayReference    {      public static final byte CS_VALUE = 13;      // commands      public static final byte LENGTH = 1;      public static final byte GET_VALUES = 2;      public static final byte SET_VALUES = 3;    }    public static final class ClassLoaderReference    {      public static final byte CS_VALUE = 14;      // commands      public static final byte VISIBLE_CLASSES = 1;    }    public static final class EventRequest    {      public static final byte CS_VALUE = 15;      // commands      public static final byte SET = 1;      public static final byte CLEAR = 2;      public static final byte CLEAR_ALL_BREAKPOINTS = 3;    }    public static final class StackFrame    {      public static final byte CS_VALUE = 16;      // commands      public static final byte GET_VALUES = 1;      public static final byte SET_VALUES = 2;      public static final byte THIS_OBJECT = 3;      public static final byte POP_FRAMES = 4;    }    public static final class ClassObjectReference    {      public static final byte CS_VALUE = 17;      // commands      public static final byte REFLECTED_TYPE = 1;    }    public static final int MAXIMUM = ClassObjectReference.CS_VALUE;    public static final class Event    {      public static final byte CS_VALUE = 64;      // commands      public static final byte COMPOSITE = 100;    }  }  ////////////////////////////////////////  //             Constants              //  ////////////////////////////////////////  /*   * Error constants   */  public static final class Error  {    /**     * No error has occurred     */    public static final short NONE = 0;    /**     * Passed thread is null, is not a valid thread or has exited     */    public static final short INVALID_THREAD = 10;    /**     * Thread group invalid     */    public static final short INVALID_THREAD_GROUP = 11;    /**     * Invalid priority     */    public static final short INVALID_PRIORITY = 12;    /**     * Specified thread has not been suspended by an event     */    public static final short THREAD_NOT_SUSPENDED = 13;    /**     * Thread already suspended     */    public static final short THREAD_SUSPENDED = 14;    /**     * Reference type has been unloaded and garbage collected     */    public static final short INVALID_OBJECT = 20;    /**     * Invalid class     */    public static final short INVALID_CLASS = 21;    /**     * Class has been loaded but not yet prepared     */    public static final short CLASS_NOT_PREPARED = 22;    /**     * Invalid method     */    public static final short INVALID_METHODID = 23;    /**     * Invalid location     */    public static final short INVALID_LOCATION = 24;    /**     * Invalid field     */    public static final short INVALID_FIELDID = 25;    /**     * Invaliid frame     */    public static final short INVALID_FRAMEID = 30;    /**     * There are no more Java or JNI frames on the call stack     */    public static final short NO_MORE_FRAMES = 31;    /**     * Information about the frame is not available     */    public static final short OPAQUE_FRAME = 32;    /**     * Operation can only be performed on current frame     */    public static final short NOT_CURRENT_FRAME = 33;    /**     * Variable is not an appropriate type for the function used     */    public static final short TYPE_MISMATCH = 34;    /**     * Invalid slot     */    public static final short INVALID_SLOT = 35;    /**     * Item already set     */    public static final short DUPLICATE = 40;    /**     * Desired element not found     */    public static final short NOT_FOUND = 41;    /**     * Invalid monitor     */    public static final short INVALID_MONITOR = 50;    /**     * Thread doesn't own the monitor     */    public static final short NOT_MONITOR_OWNER = 51;    /**     * Call has been interrupted before completion     */    public static final short INTERRUPT = 52;    /**     * Virtual machine attempted to read a class file and determined that     * the file is malformed or otherwise cannot be interpreted as a class     * file     */    public static final short INVALID_CLASS_FORMAT = 60;    /**     * Circularity has been detected while initializing a class     */    public static final short CIRCULAR_CLASS_DEFINITION = 61;    /**     * Verifier detected that a class file, though well formed, contained     * some sort of internal inconsistency or security problem     */    public static final short FAILS_VERIFICATION = 62;    /**     * Adding methods has not been implemented     */    public static final short ADD_METHOD_NOT_IMPLEMENTED = 63;    /**     * Schema change has not been implemented     */    public static final short SCHEMA_CHANGE_NOT_IMPLEMENTED = 64;    /**     * State of the thread has been modified and is now inconsistent     */    public static final short INVALID_TYPESTATE = 65;    /**     * A direct superclass is different for the new class version, or the set     * of directly implemented interfaces is different and     * <code>canUnrestrictedlyRedefineClasses</code> is false     */    public static final short HIERARCHY_CHANGE_NOT_IMPLEMENTED = 66;    /**     * New class version does not declare a method declared in the old     * class version and <code>canUnrestrictedlyRedefineClasses</code>     * is false     */    public static final short DELETE_METHOD_NOT_IMPLEMENTED = 67;    /**     * Class file has a version number not supported by this VM     */    public static final short UNSUPPORTED_VERSION = 68;    /**     * Class name defined in the new class file is different from the name     * in the old class object     */    public static final short NAMES_DONT_MATCH = 69;    /**     * New class version has different modifiers and     * <code>canUnrestrictedlyRedefineClasses</code> is false     */    public static final short CLASS_MODIFIERS_CHANGE_NOT_IMPLEMENTED = 70;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -