Authorization Layer post JEP 411

Chapman Flack chap at anastigmatix.net
Thu Jun 3 00:04:43 UTC 2021


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).

Regards,
-Chap



More information about the security-dev mailing list