On Fri, 14 Jun 2024 12:09:46 GMT, Weijun Wang <wei...@openjdk.org> wrote:

> I don't quite understand why there is no more `noPermissionsACC` in 
> `Monotor.java`. This looks like the only behavior change when SM is allowed. 
> The other source change looks fine to me.

Does noPermissionsACC add anything?  Maybe I'm rushing the removal of ACCs 
where I can.

Start sets acc to the current context (when SM permitted, use Subject otherwise)
Set acc to noPermissionsACC when stop is called (or forget the Subject).

acc is accessed within the run method.

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

PR Comment: https://git.openjdk.org/jdk/pull/19624#issuecomment-2167949489

Reply via email to