PrivilegedAction et al and JEP411

2023-06-17 Thread Peter Firmstone
Curious to know OpenJDK's plans for removal of AccessController::doPrivileged calls? PrivilegedAction shows intent, that an action about to be executed requires privileges. Can OpenJDK retain instances of PrivilegedAction and PrivilegedExceptionAction? We can find PrivilegedAction::run in

Re: RFR: JDK-8308398 Move SunEC crypto provider into java.base

2023-06-17 Thread Alan Bateman
On Tue, 13 Jun 2023 20:36:28 GMT, Anthony Scarpino wrote: > This moves the SunEC JCE Provider (Elliptic Curve) into java.base. EC has > always been separate from the base module/pkg because of its dependence on a > native library. That library was removed in JDK 16. The proposed changes look

Re: RFR: JDK-8308398 Move SunEC crypto provider into java.base

2023-06-17 Thread Alan Bateman
On Fri, 16 Jun 2023 20:32:23 GMT, Weijun Wang wrote: >> Hi, >> >> I need a code review for moving the contents of the jdk.crypto.ec module >> into java.base. This moves the SunEC JCE Provider (Elliptic Curve) into >> java.base. EC has always been separate from the base module/pkg because of

Re: JDK-8280491 and JEP411

2023-06-17 Thread Peter Firmstone
Thanks Sean. It's a pity we're not permitted to redesign a light weight authorization mechanism from the ashes of the existing system, something that allowed the use of PrivilegedAction et al. The reality is, authorization could be so much simpler and more useful than it is today, especially