Mercurial > hg > graal-jvmci-8
diff src/share/vm/runtime/reflection.cpp @ 14442:1174c8abbdb6
Merge
author | kvn |
---|---|
date | Thu, 05 Dec 2013 15:13:12 -0800 |
parents | cdf20166ec45 |
children | 9a60f4ac6a37 |
line wrap: on
line diff
--- a/src/share/vm/runtime/reflection.cpp Thu Dec 05 19:19:09 2013 +0100 +++ b/src/share/vm/runtime/reflection.cpp Thu Dec 05 15:13:12 2013 -0800 @@ -470,12 +470,6 @@ return true; } - // Also allow all accesses from - // java/lang/invoke/MagicLambdaImpl subclasses to succeed trivially. - if (current_class->is_subclass_of(SystemDictionary::lambda_MagicLambdaImpl_klass())) { - return true; - } - return can_relax_access_check_for(current_class, new_class, classloader_only); } @@ -570,12 +564,6 @@ return true; } - // Also allow all accesses from - // java/lang/invoke/MagicLambdaImpl subclasses to succeed trivially. - if (current_class->is_subclass_of(SystemDictionary::lambda_MagicLambdaImpl_klass())) { - return true; - } - return can_relax_access_check_for( current_class, field_class, classloader_only); }