comparison src/share/vm/classfile/verifier.hpp @ 1602:136b78722a08

6939203: JSR 292 needs method handle constants Summary: Add new CP types CONSTANT_MethodHandle, CONSTANT_MethodType; extend 'ldc' bytecode. Reviewed-by: twisti, never
author jrose
date Wed, 09 Jun 2010 18:50:45 -0700
parents e9ff18c4ace7
children 1070423b51f3
comparison
equal deleted inserted replaced
1585:49fac4acd688 1602:136b78722a08
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.