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

📄 messages.h

📁 This is a java virtual machine implement in c
💻 H
📖 第 1 页 / 共 2 页
字号:
/*0333*/        "Bad frame size"
/*0334*/
/*0335*/#define KVM_MSG_DUPLICATE_METHOD_FOUND \
/*0336*/        "Duplicate method found"
/*0337*/
/*0338*/#define KVM_MSG_CLASSFILE_SIZE_DOES_NOT_MATCH \
/*0339*/        "Class file size does not match"
/*0340*/
/*0341*/#define KVM_MSG_CANNOT_LOAD_CLASS_1PARAM \
/*0342*/        "Unable to load class %s"
/*0343*/
/*0344*/#define KVM_MSG_CLASS_CIRCULARITY_ERROR \
/*0345*/        "Class circularity error"
/*0346*/
/*0347*/#define KVM_MSG_CLASS_EXTENDS_FINAL_CLASS \
/*0348*/        "Class extends a final class"
/*0349*/
/*0350*/#define KVM_MSG_CLASS_EXTENDS_INTERFACE \
/*0351*/        "Class extends an interface"
/*0352*/
/*0353*/#define KVM_MSG_CLASS_IMPLEMENTS_ARRAY_CLASS \
/*0354*/        "Class implements an array class"
/*0355*/
/*0356*/#define KVM_MSG_CLASS_IMPLEMENTS_ITSELF \
/*0357*/        "Class implements itself"
/*0358*/
/*0359*/#define KVM_MSG_INTERFACE_CIRCULARITY_ERROR \
/*0360*/        "Interface circularity error"
/*0361*/
/*0362*/#define KVM_MSG_CLASS_IMPLEMENTS_NON_INTERFACE \
/*0363*/        "Class implements a non-interface"
/*0364*/
/*0365*/#define KVM_MSG_UNABLE_TO_COPY_TO_STATIC_MEMORY \
/*0366*/        "Unable to copy data to static memory"
/*0367*/
/*0368*/
/*0369*//* Messages in native.c */
/*0370*/
/*0371*/#define KVM_MSG_NATIVE_METHOD_NOT_FOUND_2STRPARAMS \
/*0372*/        "Native method '%s::%s' not found" 
/*0373*/
/*0374*/#define KVM_MSG_NATIVE_METHOD_BAD_USE_OF_TEMPORARY_ROOTS \
/*0375*/        "Native method '%s::%s' has used temporary roots incorrectly" 
/*0376*/
/*0377*/
/*0378*//* Messages in pool.c */
/*0379*/
/*0380*/#define KVM_MSG_CANNOT_ACCESS_CLASS_FROM_CLASS_2STRPARAMS \
/*0381*/        "Cannot access class %s from class %s"
/*0382*/
/*0383*/#define KVM_MSG_ILLEGAL_CONSTANT_CLASS_REFERENCE \
/*0384*/        "Illegal CONSTANT_Class reference"
/*0385*/
/*0386*/#define KVM_MSG_INCOMPATIBLE_CLASS_CHANGE_2STRPARAMS \
/*0387*/        "Incompatible class change: %s.%s"
/*0388*/
/*0389*/#define KVM_MSG_INCOMPATIBLE_CLASS_CHANGE_3STRPARAMS \
/*0390*/        "Incompatible class change: %s.%s%s"
/*0391*/
/*0392*/#define KVM_MSG_CANNOT_MODIFY_FINAL_FIELD_3STRPARAMS \
/*0393*/        "Cannot modify final field %s.%s from class %s"
/*0394*/
/*0395*/#define KVM_MSG_CANNOT_ACCESS_MEMBER_FROM_CLASS_3STRPARAMS \
/*0396*/        "Cannot access %s.%s from class %s"
/*0397*/
/*0398*/
/*0399*//* Messages in thread.c */
/*0400*/
/*0401*/#define KVM_MSG_BAD_PENDING_EXCEPTION \
/*0402*/        "Bad pendingException in SwitchThread()"
/*0403*/
/*0404*/#define KVM_MSG_ATTEMPTING_TO_SWITCH_TO_INACTIVE_THREAD \
/*0405*/        "Attempting to switch to an inactive thread"
/*0406*/
/*0407*/#define KVM_MSG_CLASS_DOES_NOT_HAVE_MAIN_FUNCTION \
/*0408*/        "Class does not contain 'main' function"
/*0409*/
/*0410*/#define KVM_MSG_MAIN_FUNCTION_MUST_BE_PUBLIC \
/*0411*/        "'main' must be declared public"
/*0412*/
/*0413*/#define KVM_MSG_ATTEMPTING_TO_RESUME_NONSUSPENDED_THREAD \
/*0414*/        "Attempting to resume a non-suspended thread"
/*0415*/
/*0416*/#define KVM_MSG_ATTEMPTING_TO_RESUME_CURRENT_THREAD \
/*0417*/        "Attempting to resume current thread"
/*0418*/
/*0419*/#define KVM_MSG_BAD_CALL_TO_ADDCONDVARWAIT \
/*0420*/        "Bad call to addCondvarWait()"
/*0421*/
/*0422*/#define KVM_MSG_THREAD_NOT_ON_CONDVAR_QUEUE \
/*0423*/        "Thread not on condvar queue"
/*0424*/
/*0425*/
/*0426*//* Messages in stackmap.c */
/*0427*/
/*0428*/#define KVM_MSG_EXPECTED_RESOLVED_FIELD \
/*0429*/        "Expected a resolved field"
/*0430*/
/*0431*/#define KVM_MSG_EXPECTED_RESOLVED_METHOD \
/*0432*/        "Expected a resolved method"
/*0433*/
/*0434*/#define KVM_MSG_UNEXPECTED_BYTECODE \
/*0435*/        "Unexpected bytecode"
/*0436*/
/*0437*/#define KVM_MSG_ARGUMENT_POPPING_FAILED \
/*0438*/        "Popping args reduced stack size to 0"
/*0439*/
/*0440*/#define KVM_MSG_ILLEGAL_STACK_SIZE \
/*0441*/        "Illegal stack size"
/*0442*/
/*0443*/#define KVM_MSG_STRANGE_VALUE_OF_THISIP \
/*0444*/        "Strange value of thisIP"
/*0445*/
/*0446*//*=========================================================================
/*0447./ * Messages in VmExtra
/*0448./ *=======================================================================*/
/*0449*/
/*0450*//* Messages in commProtocol.c */
/*0451*/
/*0452*/#define KVM_MSG_COMM_WRITE_INCOMPLETE \
/*0453*/        "Comm port error: Write incomplete"
/*0454*/
/*0455*/#define KVM_MSG_PROTOCOL_NAME_TOO_LONG \
/*0456*/        "Protocol name too long"
/*0457*/
/*0458*/
/*0459*//* Messages in debugger.c */
/*0460*/
/*0461*/#define KVM_MSG_DEBUGGER_COULD_NOT_FIND_METHOD \
/*0462*/        "Debugger could not find method"
/*0463*/
/*0464*/#define KVM_MSG_DEBUGGER_COULD_NOT_FIND_FIELD \
/*0465*/        "Debugger could not find field"
/*0466*/
/*0467*/#define KVM_MSG_UNKNOWN_DEBUGGER_COMMAND_SET \
/*0468*/        "Unknown JDWP debugger command set\n"
/*0469*/
/*0470*/#define KVM_MSG_UNKNOWN_JDWP_COMMAND \
/*0471*/        "Unknown JDWP command\n"
/*0472*/
/*0473*/
/*0474*//* Messages in debuggerOutputStream.c */
/*0475*/
/*0476*/#define KVM_MSG_INVALID_JDWP_TYPE_TAG \
/*0477*/        "Invalid JDWP type tag"
/*0478*/
/*0479*/
/*0480*//* Messages in debuggerSocketIO.c */
/*0481*/
/*0482*/#define KVM_MSG_DEBUGGER_COULD_NOT_INIT_WINSOCK \
/*0483*/        "Debugger could not init WinSock\n"
/*0484*/
/*0485*/#define KVM_MSG_DEBUGGER_COULD_NOT_OPEN_LISTENSOCKET \
/*0486*/        "Debugger could not open listenSocket\n"
/*0487*/
/*0488*/#define KVM_MSG_DEBUGGER_COULD_NOT_BIND_LISTENSOCKET \
/*0489*/        "Debugger could not bind listenSocket\n"
/*0490*/
/*0491*/#define KVM_MSG_DEBUGGER_COULD_NOT_LISTEN_TO_SOCKET \
/*0492*/        "Debugger could not listen to socket\n"
/*0493*/
/*0494*/#define KVM_MSG_DEBUGGER_FD_SELECT_FAILED \
/*0495*/        "Debugger FD select failed\n"
/*0496*/
/*0497*/#define KVM_MSG_DEBUGGER_FD_ACCEPT_FAILED \
/*0498*/        "Debugger FD accept failed\n"
/*0499*/
/*0500*/
/*0501*//* Messages in fakeStaticMemory.c */
/*0502*/
/*0503*/#define KVM_MSG_STATIC_MEMORY_ERROR \
/*0504*/        "Bad static memory pointers"
/*0505*/
/*0506*/#define KVM_MSG_OUT_OF_STATIC_MEMORY \
/*0507*/        "Out of static memory!"
/*0508*/
/*0509*/
/*0510*//* Messages in inflate.c */
/*0511*/
/*0512*/#define KVM_MSG_JAR_INVALID_BTYPE \
/*0513*/        "Invalid BTYPE"
/*0514*/
/*0515*/#define KVM_MSG_JAR_INPUT_BIT_ERROR \
/*0516*/        "Invalid input bits"
/*0517*/
/*0518*/#define KVM_MSG_JAR_OUTPUT_BIT_ERROR \
/*0519*/        "Invalid output bits"
/*0520*/
/*0521*/#define KVM_MSG_JAR_BAD_LENGTH_FIELD \
/*0522*/        "Bad length field"
/*0523*/
/*0524*/#define KVM_MSG_JAR_INPUT_OVERFLOW \
/*0525*/        "Input overflow"
/*0526*/
/*0527*/#define KVM_MSG_JAR_OUTPUT_OVERFLOW \
/*0528*/        "Output overflow"
/*0529*/
/*0530*/#define KVM_MSG_JAR_DRAGON_SINGLE_BYTE \
/*0531*/        "Dragon single byte"
/*0532*/
/*0533*/#define KVM_MSG_JAR_INVALID_LITERAL_OR_LENGTH \
/*0534*/        "Invalid literal/length"
/*0535*/
/*0536*/#define KVM_MSG_JAR_BAD_DISTANCE_CODE \
/*0537*/        "Bad distance code"
/*0538*/
/*0539*/#define KVM_MSG_JAR_COPY_UNDERFLOW \
/*0540*/        "Copy underflow"
/*0541*/
/*0542*/#define KVM_MSG_JAR_DRAGON_COPY_FAILED \
/*0543*/        "Dragon copy failed"
/*0544*/
/*0545*/#define KVM_MSG_JAR_BAD_REPEAT_CODE \
/*0546*/        "Bad repeat code"
/*0547*/
/*0548*/#define KVM_MSG_JAR_BAD_CODELENGTH_CODE \
/*0549*/        "Bad code-length code"
/*0550*/
/*0551*/#define KVM_MSG_JAR_CODE_TABLE_EMPTY \
/*0552*/        "Code table empty"
/*0553*/
/*0554*/#define KVM_MSG_JAR_UNEXPECTED_BIT_CODES \
/*0555*/        "Unexpected bit codes"
/*0556*/
/*0557*/
/*0558*//* Messages in loaderFile.c */
/*0559*/
/*0560*/#define KVM_MSG_RESOURCE_NOT_FOUND_1STRPARAM \
/*0561*/        "Resource %s not found"
/*0562*/
/*0563*/
/*0564*//* Messages in main.c */
/*0565*/
/*0566*/#define KVM_MSG_CANT_COMBINE_CLASSPATH_OPTION_WITH_JAM_OPTION \
/*0567*/        "Can't combine '-classpath' with '-jam' option\n"
/*0568*/
/*0569*/#define KVM_MSG_CANT_COMBINE_DEBUGGER_OPTION_WITH_REPEAT_OPTION \
/*0570*/        "Can't combine '-debugger' with '-repeat' option\n"
/*0571*/
/*0572*/#define KVM_MSG_CLASSPATH_NOT_SET \
/*0573*/        "Classpath is not set. Defaulting to '.'\n"
/*0574*/
/*0575*/#define KVM_MSG_EXPECTING_HTTP_OR_FILE_WITH_JAM_OPTION \
/*0576*/        "Expecting 'http:' or 'file:' URL with the '-jam' option\n"
/*0577*/
/*0578*/#define KVM_MSG_USES_32K_MINIMUM_MEMORY \
/*0579*/        "KVM requires 32kB minimum memory"
/*0580*/
/*0581*/#define KVM_MSG_USES_64M_MAXIMUM_MEMORY \
/*0582*/        "KVM allows 64MB maximum memory"
/*0583*/
/*0584*/
/*0585*//* Messages in nativeSpotlet.c */
/*0586*/
/*0587*/#define KVM_MSG_NOT_IMPLEMENTED \
/*0588*/        "Unimplemented feature"
/*0589*/
/*0590*/
/*0591*//* Messages in network.c */
/*0592*/
/*0593*/#define KVM_MSG_COULD_NOT_FIND_FIELD_1STRPARAM \
/*0594*/        "Could not find field %s"
/*0595*/
/*0596*/#define KVM_MSG_CANNOT_RECEIVE_DATAGRAMS_LONGER_THAN_65535 \
/*0597*/        "Cannot receive datagrams > 65535"
/*0598*/
/*0599*/#define KVM_MSG_BUFFER_OVERFLOW_IN_SERVERSOCKET_OPEN \
/*0600*/        "Buffer overflow in serversocket:open()"
/*0601*/
/*0602*/
/*0603*//* Messages in networkPrim.c */
/*0604*/
/*0605*/#define KVM_MSG_COULD_NOT_MAKE_SOCKET_NONBLOCKING \
/*0606*/        "Could not make socket non-blocking"
/*0607*/
/*0608*/#define KVM_MSG_WSASTARTUP_FAILURE \
/*0609*/        "Windows sockets WSAtartup failure"
/*0610*/
/*0611*/#define KVM_MSG_PALM_APP_MUST_BE_BUILT_WITH_NETWORKING \
/*0612*/        "Palm application must be built with '-networking' flag!"
/*0613*/
/*0614*/
/*0615*//* Messages in verifier.c */
/*0616*/
/*0617*/#define KVM_MSG_VERIFIER_STATUS_INFO_INITIALIZER                       \
/*0618*/{   /*  0 */    NULL,  /* SUCCESS */                                   \
/*0619*/    /*  1 */    "Stack Overflow",                                      \
/*0620*/    /*  2 */    "Stack Underflow",                                     \
/*0621*/    /*  3 */    "Unexpected Long or Double on Stack",                  \
/*0622*/    /*  4 */    "Bad type on stack",                                   \
/*0623*/    /*  5 */    "Too many locals",                                     \
/*0624*/    /*  6 */    "Bad type in local",                                   \
/*0625*/    /*  7 */    "Locals underflow",                                    \
/*0626*/    /*  8 */    "Inconsistent or missing stackmap at target",          \
/*0627*/    /*  9 */    "Backwards branch with unitialized object",            \
/*0628*/    /* 10 */    "Inconsistent stackmap at next instruction",           \
/*0629*/    /* 11 */    "Expect constant pool entry of type class",            \
/*0630*/    /* 12 */    "Expect subclass of java.lang.Throwable",              \
/*0631*/    /* 13 */    "Items in lookupswitch not sorted",                    \
/*0632*/    /* 14 */    "Bad constant pool for ldc",                           \
/*0633*/    /* 15 */    "baload requires byte[] or boolean[]",                 \
/*0634*/    /* 16 */    "aaload requires subtype of Object[]",                 \
/*0635*/    /* 17 */    "bastore requires byte[] or boolean[]",                \
/*0636*/    /* 18 */    "bad array or element type for aastore",               \
/*0637*/    /* 19 */    "VE_FIELD_BAD_TYPE",                                   \
/*0638*/    /* 20 */    "Bad constant pool type for invoker",                  \
/*0639*/    /* 21 */    "Insufficient args on stack for method call",          \
/*0640*/    /* 22 */    "Bad arguments on stack for method call",              \
/*0641*/    /* 23 */    "Bad invocation of initialization method",             \
/*0642*/    /* 24 */    "Bad stackmap reference to unitialized object",        \
/*0643*/    /* 25 */    "Initializer called on already initialized object",    \
/*0644*/    /* 26 */    "Illegal byte code (possibly floating point)",         \
/*0645*/    /* 27 */    "arraylength on non-array",                            \
/*0646*/    /* 28 */    "Bad dimension of constant pool for multianewarray",   \
/*0647*/    /* 29 */    "Value returned from void method",                     \
/*0648*/    /* 30 */    "Wrong value returned from method",                    \
/*0649*/    /* 31 */    "Value not returned from method",                      \
/*0650*/    /* 32 */    "Initializer not initializing this",                   \
/*0651*/    /* 33 */    "Illegal offset for stackmap",                         \
/*0652*/    /* 34 */    "Code can fall off the bottom",                        \
/*0653*/    /* 35 */    "Last byte of invokeinterface must be zero",           \
/*0654*/    /* 36 */    "Bad nargs field for invokeinterface",                 \
/*0655*/    /* 37 */    "Bad call to invokespecial",                           \
/*0656*/    /* 38 */    "Bad call to <init> method",                           \
/*0657*/    /* 39 */    "Constant pool entry must be a field reference",       \
/*0658*/    /* 40 */    "Override of final method",                            \
/*0659*/    /* 41 */    "Code ends in middle of byte code",                    \
/*0660*/    /* 42 */    "ITEM_NewObject stack-map type has illegal offset"     \
/*0661*/}
/*0662*/
/*0663*/

⌨️ 快捷键说明

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