RFR: JDK-8344303 : Remove usage of URLUtil.getConnectPermission from sun.awt.SunToolkit and sun.awt.image.URLImageSource [v3]

Alexander Zvegintsev azvegint at openjdk.org
Sat Nov 23 10:03:23 UTC 2024


On Fri, 22 Nov 2024 20:25:52 GMT, Harshitha Onkar <honkar at openjdk.org> wrote:

>> sun.awt.SunToolkit and sun.awt.image.URLImageSource are calling sun.net.util.URLUtil.getConnectPermission(URL)
>> With the SecurityManager gone there's no need to call this method anymore. 
>> 
>> There are other checkPermissions in these 2 files - SunToolkit, URLImageSource but I have removed only those that are related to URLUtil.getConnectPermission(URL). Other checkPermission removal will be handled in a separate issue.
>> 
>> Integrating this PR will allow to proceed with a dependent JBS issue - [JDK-8344180](https://bugs.openjdk.org/browse/JDK-8344180)
>
> Harshitha Onkar has updated the pull request incrementally with one additional commit since the last revision:
> 
>   sun/net/util/URLUtil.java changes

Marked as reviewed by azvegint (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/22330#pullrequestreview-2456380785


More information about the client-libs-dev mailing list