RFR: 8343982: Remove usage of security manager from ClassLoader and related classes [v2]

Lance Andersen lancea at openjdk.org
Thu Nov 14 17:53:35 UTC 2024


On Thu, 14 Nov 2024 11:25:08 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>> Remove the code for the now defunct SecurityManager execution mode from ClassLoader and the built-in class loader implementations. The override of getPermissions is removed from the application class loader, and from the class loaders used to support module layers.
>> 
>> URLCassLoader (and its implementation URLClassPath) will be handled separately as there are spec changes required, and code in URLClassPath that requires special attention.
>
> Alan Bateman has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
> 
>  - Change 2-arg findResource to use findResourceOnClassPath when finding resources on class path
>  - Merge branch 'master' into JDK-8343982
>  - Initial commit

looks good to me Alan

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

Marked as reviewed by lancea (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22097#pullrequestreview-2436813682


More information about the core-libs-dev mailing list