Mercurial > hg > graal-compiler
comparison src/share/vm/classfile/verifier.cpp @ 1142:4ce7240d622c
6914300: ciEnv should export all well known classes
Reviewed-by: kvn, twisti
author | never |
---|---|
date | Wed, 06 Jan 2010 14:22:39 -0800 |
parents | 389049f3f393 |
children | c18cbe5936b8 e40a3601bc1f ab102d5d923e |
comparison
equal
deleted
inserted
replaced
1140:1f6d42899c3a | 1142:4ce7240d622c |
---|---|
141 } | 141 } |
142 } | 142 } |
143 | 143 |
144 bool Verifier::is_eligible_for_verification(instanceKlassHandle klass, bool should_verify_class) { | 144 bool Verifier::is_eligible_for_verification(instanceKlassHandle klass, bool should_verify_class) { |
145 symbolOop name = klass->name(); | 145 symbolOop name = klass->name(); |
146 klassOop refl_magic_klass = SystemDictionary::reflect_magic_klass(); | 146 klassOop refl_magic_klass = SystemDictionary::reflect_MagicAccessorImpl_klass(); |
147 | 147 |
148 return (should_verify_for(klass->class_loader(), should_verify_class) && | 148 return (should_verify_for(klass->class_loader(), should_verify_class) && |
149 // return if the class is a bootstrapping class | 149 // return if the class is a bootstrapping class |
150 // or defineClass specified not to verify by default (flags override passed arg) | 150 // or defineClass specified not to verify by default (flags override passed arg) |
151 // We need to skip the following four for bootstraping | 151 // We need to skip the following four for bootstraping |