> 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: removed java.desktop ------------- Changes: - all: https://git.openjdk.org/jdk/pull/22330/files - new: https://git.openjdk.org/jdk/pull/22330/files/fa190e74..0bf680e9 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=22330&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22330&range=00-01 Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/22330.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/22330/head:pull/22330 PR: https://git.openjdk.org/jdk/pull/22330