Mercurial > hg > graal-compiler
comparison src/share/vm/classfile/verifier.hpp @ 10381:4552a7633a07
8015385: Remove RelaxAccessControlCheck for JDK 8 bytecodes
Summary: Check bytecode versions along with RelaxAccessControlCheck version
Reviewed-by: dholmes, acorn
author | hseigel |
---|---|
date | Mon, 03 Jun 2013 10:00:10 -0400 |
parents | 92ef81e2f571 |
children | ef57c43512d6 |
comparison
equal
deleted
inserted
replaced
10380:532c55335fb6 | 10381:4552a7633a07 |
---|---|
34 | 34 |
35 // The verifier class | 35 // The verifier class |
36 class Verifier : AllStatic { | 36 class Verifier : AllStatic { |
37 public: | 37 public: |
38 enum { | 38 enum { |
39 STRICTER_ACCESS_CTRL_CHECK_VERSION = 49, | |
39 STACKMAP_ATTRIBUTE_MAJOR_VERSION = 50, | 40 STACKMAP_ATTRIBUTE_MAJOR_VERSION = 50, |
40 INVOKEDYNAMIC_MAJOR_VERSION = 51 | 41 INVOKEDYNAMIC_MAJOR_VERSION = 51, |
42 NO_RELAX_ACCESS_CTRL_CHECK_VERSION = 52 | |
41 }; | 43 }; |
42 typedef enum { ThrowException, NoException } Mode; | 44 typedef enum { ThrowException, NoException } Mode; |
43 | 45 |
44 /** | 46 /** |
45 * Verify the bytecodes for a class. If 'throw_exception' is true | 47 * Verify the bytecodes for a class. If 'throw_exception' is true |