changeset 3687:2b543aa340e4 jdk7u11-b08

Merge
author ewendeli
date Thu, 06 Dec 2012 17:42:30 +0100
parents 25a92b94ad53 (current diff) c1962395e8f2 (diff)
children ed328ec14835
files .hgtags
diffstat 4 files changed, 13 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/.hgtags	Tue Dec 04 17:28:19 2012 -0800
+++ b/.hgtags	Thu Dec 06 17:42:30 2012 +0100
@@ -343,3 +343,8 @@
 5c154a591de987d515f5b102a988bcf96d439f53 jdk7u10-b17
 78c7e1b4a006342230e04fbb73f637834207abef jdk7u10-b18
 c6b78bbaf6976197ead9d5aa3f65e0224cd13541 jdk7u10-b30
+db7028c8a953f46225fceb6148f97de87c784dda jdk7u11-b03
+4d418a1b8be04220f504cf414b47877821a22a26 jdk7u11-b04
+f71032f398a3baea567710ba7161c64b94495cac jdk7u11-b05
+0cbce123c9027d531e585fd81fbc361c5f8407f1 jdk7u11-b06
+94bf1e3dafef3cc06d3f97f81d304313ccd999ee jdk7u11-b07
--- a/make/hotspot_version	Tue Dec 04 17:28:19 2012 -0800
+++ b/make/hotspot_version	Thu Dec 06 17:42:30 2012 +0100
@@ -31,11 +31,11 @@
 #
 
 # Don't put quotes (fail windows build).
-HOTSPOT_VM_COPYRIGHT=Copyright 2012
+HOTSPOT_VM_COPYRIGHT=Copyright 2013
 
 HS_MAJOR_VER=23
-HS_MINOR_VER=6
-HS_BUILD_NUMBER=04
+HS_MINOR_VER=7
+HS_BUILD_NUMBER=01
 
 JDK_MAJOR_VER=1
 JDK_MINOR_VER=7
--- a/src/share/vm/interpreter/linkResolver.cpp	Tue Dec 04 17:28:19 2012 -0800
+++ b/src/share/vm/interpreter/linkResolver.cpp	Thu Dec 06 17:42:30 2012 +0100
@@ -712,7 +712,7 @@
 
     if (check_access &&
         // a) check if ACC_SUPER flag is set for the current class
-        current_klass->is_super() &&
+        (current_klass->is_super() || !AllowNonVirtualCalls) &&
         // b) check if the method class is a superclass of the current class (superclass relation is not reflexive!)
         current_klass->is_subtype_of(method_klass()) && current_klass() != method_klass() &&
         // c) check if the method is not <init>
--- a/src/share/vm/runtime/globals.hpp	Tue Dec 04 17:28:19 2012 -0800
+++ b/src/share/vm/runtime/globals.hpp	Thu Dec 06 17:42:30 2012 +0100
@@ -3902,7 +3902,10 @@
   product(bool, UseVMInterruptibleIO, false,                                \
           "(Unstable, Solaris-specific) Thread interrupt before or with "   \
           "EINTR for I/O operations results in OS_INTRPT. The default value"\
-          " of this flag is true for JDK 6 and earlier")
+          " of this flag is true for JDK 6 and earlier")                    \
+                                                                            \
+  product(bool, AllowNonVirtualCalls, false,                                \
+         "Obey the ACC_SUPER flag and allow invokenonvirtual calls")
 
 /*
  *  Macros for factoring of globals