8176815: Remove StackFramePermission and use RuntimePermission for stack walking
Reviewed-by: alanb, bchristi
--- a/corba/src/java.corba/share/classes/sun/corba/Bridge.java Mon Mar 13 14:01:49 2017 +0100
+++ b/corba/src/java.corba/share/classes/sun/corba/Bridge.java Wed Mar 15 18:07:31 2017 -0700
@@ -59,10 +59,10 @@
* </ul>
* The code that calls Bridge.get() must have the following Permissions:
* <ul>
- * <li>RuntimePermission "reflectionFactoryAccess"</li>
* <li>BridgePermission "getBridge"</li>
* <li>ReflectPermission "suppressAccessChecks"</li>
- * <li>StackFramePermission "retainClassReference"</li>
+ * <li>RuntimePermission "getStackWalkerWithClassReference"</li>
+ * <li>RuntimePermission "reflectionFactoryAccess"</li>
* </ul>
* <p>
* All of these permissions are required to obtain and correctly initialize
@@ -105,10 +105,10 @@
/** Fetch the Bridge singleton. This requires the following
* permissions:
* <ul>
- * <li>RuntimePermission "reflectionFactoryAccess"</li>
* <li>BridgePermission "getBridge"</li>
* <li>ReflectPermission "suppressAccessChecks"</li>
- * <li>StackFramePermission "retainClassReference"</li>
+ * <li>RuntimePermission "getStackWalkerWithClassReference"</li>
+ * <li>RuntimePermission "reflectionFactoryAccess"</li>
* </ul>
* @return The singleton instance of the Bridge class
* @throws SecurityException if the caller does not have the