< prev index next >
corba/src/java.corba/share/classes/sun/corba/Bridge.java
Print this page
*** 57,70 ****
* the call stack as required by the RMI-IIOP specification (really from the
* JDK 1.1 days)</li>
* </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>
* </ul>
* <p>
* All of these permissions are required to obtain and correctly initialize
* the instance of Bridge. No security checks are performed on calls
* made to Bridge instance methods, so access to the Bridge instance
--- 57,70 ----
* the call stack as required by the RMI-IIOP specification (really from the
* JDK 1.1 days)</li>
* </ul>
* The code that calls Bridge.get() must have the following Permissions:
* <ul>
* <li>BridgePermission "getBridge"</li>
* <li>ReflectPermission "suppressAccessChecks"</li>
! * <li>RuntimePermission "getStackWalkerWithClassReference"</li>
! * <li>RuntimePermission "reflectionFactoryAccess"</li>
* </ul>
* <p>
* All of these permissions are required to obtain and correctly initialize
* the instance of Bridge. No security checks are performed on calls
* made to Bridge instance methods, so access to the Bridge instance
*** 103,116 ****
}
/** 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>
* </ul>
* @return The singleton instance of the Bridge class
* @throws SecurityException if the caller does not have the
* required permissions and the caller has a non-null security manager.
*/
--- 103,116 ----
}
/** Fetch the Bridge singleton. This requires the following
* permissions:
* <ul>
* <li>BridgePermission "getBridge"</li>
* <li>ReflectPermission "suppressAccessChecks"</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
* required permissions and the caller has a non-null security manager.
*/
< prev index next >