equal
deleted
inserted
replaced
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. |