On Fri, 22 Nov 2024 18:43:42 GMT, Harshitha Onkar <[email protected]> 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) This pull request has now been integrated. Changeset: a6220fa9 Author: Harshitha Onkar <[email protected]> URL: https://git.openjdk.org/jdk/commit/a6220fa90362980fce2fc56e70c7c9a7ed7e11c5 Stats: 61 lines in 4 files changed: 0 ins; 61 del; 0 mod 8344303: Remove usage of URLUtil.getConnectPermission from sun.awt.SunToolkit and sun.awt.image.URLImageSource Reviewed-by: prr, azvegint ------------- PR: https://git.openjdk.org/jdk/pull/22330
