RFR (S) 8025112: JSR 292 spec updates for security manager and caller sensitivity
john.r.rose at oracle.com
Tue Oct 1 15:15:24 PDT 2013
This change updates the javadoc to reflect previous changes in the behavior of the security manager, especially with respect to caller sensitivity.
It also adjusts some unit tests.
The key change is to the order of the security manager logic. The purpose is to align the "bytecode behavior" of method handles more closely with the native behavior of the corresponding bytecode instructions. This means that "fully trusted" method handles do not incur security checks if they are equivalent to bytecodes that the user could have written.
The API spec. and security rules have been internally reviewed. This is a review of implementation and unit tests.
For more background, see my JavaOne presentation:
More information about the hotspot-compiler-dev