RFR: 8344336: SM cleanup of java.lang.System, Runtime, String, StackWalker [v2]
Alan Bateman
alanb at openjdk.org
Wed Nov 20 07:46:16 UTC 2024
On Mon, 18 Nov 2024 19:22:33 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
>> Removed use of SecurityManager to check permissions.
>> Relaxed defensive copying of byte arrays (due to lack of SM)
>
> Roger Riggs has updated the pull request incrementally with one additional commit since the last revision:
>
> Review suggestions applied:
> Remove SecurityExceptions from LiveStackFrame
> Rename safeTrim to trimArray
What about System.codeSource? I assume it can be removed and Module.ensureNativeAccess changed to get the code source itself (no SM check needed now).
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22168#issuecomment-2487753723
More information about the core-libs-dev
mailing list