Authorization Layer post JEP 411
Alan Bateman
Alan.Bateman at oracle.com
Thu Jun 3 07:18:18 UTC 2021
On 03/06/2021 01:04, Chapman Flack wrote:
> On 06/02/21 19:41, Peter Firmstone wrote:
>> We need the power of AccessController's stack walk, StackWalker doesn't work
>> with compiled code, only bytecode.
> Is this correct? I have not tried it, but the apidocs had led me to
> understand it did not distinguish much between JITed and interpreted code.
> Even getByteCodeIndex does not mention any limitation when the frame is
> JITed Java code (though it does say it will return a negative number in
> the distinct case of an actual native method).
>
There should be no issue here. I suspect Peter meant that the stack
walker is about walking Java frames, it's transparent whether there are
interpreter frames, compiled frame, or a mix on the stack.
-Alan
More information about the security-dev
mailing list