RFR: 8343150: Change URLClassLoader.getPermissions to return empty PermissionCollection [v3]
Jaikiran Pai
jpai at openjdk.org
Fri Nov 22 11:21:35 UTC 2024
On Fri, 22 Nov 2024 11:08:31 GMT, Daniel Fuchs <dfuchs at openjdk.org> wrote:
>> Jaikiran Pai has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains six commits:
>>
>> - specify URLClassLoader to reutrn empty PermissionCollection
>> - merge latest from master branch
>> - Revert "update the specification of java.security.SecureClassLoader.getPermissions()"
>>
>> This reverts commit d6220b19a0c4b54d8fc879302baacfa90075f47f.
>> - update the specification of java.security.SecureClassLoader.getPermissions()
>> - merge latest from master branch
>> - 8343150: Remove URLClassLoader.getPermissions after JEP 486 integration
>
> src/java.base/share/classes/java/net/URLClassLoader.java line 574:
>
>> 572: * {@return an {@linkplain PermissionCollection empty Permission collection}}
>> 573: *
>> 574: * @param codesource the CodeSource
>
> Suggestion:
>
> * @param codesource the {@code CodeSource}
Done.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/22179#discussion_r1853754793
More information about the net-dev
mailing list