PrivilegedAction et al and JEP411

Alan Bateman Alan.Bateman at oracle.com
Sun Jun 18 08:21:50 UTC 2023


On 18/06/2023 02:28, Peter Firmstone wrote:
> Curious to know OpenJDK's plans for removal of 
> AccessController::doPrivileged calls?

As JEP 411 alludes, the likely next step for this one is to degrade it 
so that it just runs the action. This should be transparent to most 
code, esp. library code that uses it so the library works when the 
application is deployed with a security manager. Not early to say which 
release a change like this might be proposed for.

-Alan



More information about the security-dev mailing list