Mercurial > hg > truffle
diff src/share/vm/runtime/reflection.cpp @ 13385:cdf20166ec45
8025632: Remove all references to MagicLambdaImpl from Hotspot
Summary: MagicLambdaImpl was removed from jdk side, this should be done in vm side too
Reviewed-by: coleenp, hseigel, rdurbin
author | minqi |
---|---|
date | Wed, 13 Nov 2013 16:24:33 -0800 |
parents | b2e698d2276c |
children | 9a60f4ac6a37 |
line wrap: on
line diff
--- a/src/share/vm/runtime/reflection.cpp Wed Nov 13 07:31:26 2013 -0800 +++ b/src/share/vm/runtime/reflection.cpp Wed Nov 13 16:24:33 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); }