RFR: 8345073: Remove SecurityManager checks from sun.awt.image classes
Harshitha Onkar
honkar at openjdk.org
Tue Nov 26 22:05:37 UTC 2024
On Tue, 26 Nov 2024 20:10:10 GMT, Phil Race <prr at openjdk.org> wrote:
> Remove SecurityManager related code from sun.awt.image classes
Changes LGTM
Did a 1st pass through the changes and build looks good.
src/java.desktop/share/classes/sun/awt/image/URLImageSource.java line 85:
> 83: // host/port that the URL is redirected to. More than that
> 84: // and we give up and just throw a SecurityException.
> 85: // This is not directly related to SecurityManager so keep it.
Looks like a valid reason to retain SecurityException in this case.
-------------
Marked as reviewed by honkar (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/22398#pullrequestreview-2462756128
PR Review Comment: https://git.openjdk.org/jdk/pull/22398#discussion_r1859281576
More information about the client-libs-dev
mailing list