Integrated: 8343150: Change URLClassLoader.getPermissions to return empty PermissionCollection

Jaikiran Pai jpai at openjdk.org
Sat Nov 23 10:03:40 UTC 2024


On Sun, 17 Nov 2024 04:16:54 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Can I please get a review of this change which removes the `getPermissions()` method from the `URLClassLoader`? This addresses https://bugs.openjdk.org/browse/JDK-8343150.
> 
> With the SecurityManager implementation removed through JEP 486, this method of the `URLClassLoader` is no longer relevant.
> 
> No new tests have been added. tier1 and tier2 testing is currently in progress.

This pull request has now been integrated.

Changeset: d00f3115
Author:    Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d00f31156a9ab9efcee492dfd0aaed1515df1f00
Stats:     82 lines in 1 file changed: 0 ins; 73 del; 9 mod

8343150: Change URLClassLoader.getPermissions to return empty PermissionCollection

Reviewed-by: dfuchs, alanb, michaelm

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

PR: https://git.openjdk.org/jdk/pull/22179


More information about the net-dev mailing list