diff src/share/vm/runtime/globals.hpp @ 8702:77443715ec55

8001307: Modify ACC_SUPER behavior Summary: Disallow non-virtual calls even when ACC_SUPER is absent. Reviewed-by: kvn, acorn
author kamg
date Mon, 05 Nov 2012 17:03:33 -0500
parents e52361627b65
children b5cb079ecaa4
line wrap: on
line diff
--- a/src/share/vm/runtime/globals.hpp	Fri Oct 26 09:27:25 2012 -0700
+++ b/src/share/vm/runtime/globals.hpp	Mon Nov 05 17:03:33 2012 -0500
@@ -3602,7 +3602,10 @@
           "Enable internal testing APIs")                                   \
                                                                             \
   product(bool, PrintGCCause, true,                                         \
-          "Include GC cause in GC logging")
+          "Include GC cause in GC logging")                                 \
+                                                                            \
+  product(bool, AllowNonVirtualCalls, false,                                \
+          "Obey the ACC_SUPER flag and allow invokenonvirtual calls")
 
 /*
  *  Macros for factoring of globals