hotspot/src/share/vm/classfile/verifier.hpp
changeset 5882 6b2aecc4f7d8
parent 5702 201c5cde25bb
child 7380 041cf7f1cce6
equal deleted inserted replaced
5708:e92b3d8118f1 5882:6b2aecc4f7d8
    23  */
    23  */
    24 
    24 
    25 // The verifier class
    25 // The verifier class
    26 class Verifier : AllStatic {
    26 class Verifier : AllStatic {
    27  public:
    27  public:
    28   enum { STACKMAP_ATTRIBUTE_MAJOR_VERSION = 50 };
    28   enum {
       
    29     STACKMAP_ATTRIBUTE_MAJOR_VERSION    = 50,
       
    30     INVOKEDYNAMIC_MAJOR_VERSION         = 51
       
    31   };
    29   typedef enum { ThrowException, NoException } Mode;
    32   typedef enum { ThrowException, NoException } Mode;
    30 
    33 
    31   /**
    34   /**
    32    * Verify the bytecodes for a class.  If 'throw_exception' is true
    35    * Verify the bytecodes for a class.  If 'throw_exception' is true
    33    * then the appropriate VerifyError or ClassFormatError will be thrown.
    36    * then the appropriate VerifyError or ClassFormatError will be thrown.