On Mon, 25 Oct 2021 19:55:44 GMT, Bernd <d...@openjdk.java.net> wrote:

>> I just don't want to touch existing spec. Even for `doAs`, I only said 
>> "callAs is based on doAs by default" and didn't went out explaining what is 
>> NOT by default. Is that OK?
>
> Yes good reason not to change it.

Suggest using similar wording as in `getSubject`: "However, performing work as 
a Subject is useful independent of the Security Manager. Thus, a replacement 
API named {@link #callAs()} has been added which can be used to perform the 
same work."

-------------

PR: https://git.openjdk.java.net/jdk/pull/5024

Reply via email to