1.1 --- a/src/share/vm/interpreter/linkResolver.cpp Fri Oct 26 09:27:25 2012 -0700 1.2 +++ b/src/share/vm/interpreter/linkResolver.cpp Mon Nov 05 17:03:33 2012 -0500 1.3 @@ -786,7 +786,7 @@ 1.4 1.5 if (check_access && 1.6 // a) check if ACC_SUPER flag is set for the current class 1.7 - current_klass->is_super() && 1.8 + (current_klass->is_super() || !AllowNonVirtualCalls) && 1.9 // b) check if the method class is a superclass of the current class (superclass relation is not reflexive!) 1.10 current_klass->is_subtype_of(method_klass()) && current_klass() != method_klass() && 1.11 // c) check if the method is not <init>