RFR: 8342454: Remove calls to doPrivileged in javafx.graphics/com.sun.glass [v2]
Lukasz Kostyra
lkostyra at openjdk.org
Wed Nov 6 13:42:32 UTC 2024
On Wed, 6 Nov 2024 05:13:48 GMT, Jayathirth D V <jdv at openjdk.org> wrote:
>> This PR removes AccessController.doPrivileged() calls in javafx.graphics/com.sun.glass. It is part of umbrella task [JDK-8342441](https://bugs.openjdk.org/browse/JDK-8342441).
>>
>> Also wherever classes are implementing PrivilegedAction they are replaced with java.util.Supplier and get().
>>
>> I have removed reference to all AccessControl** class except in `Accessible.java` assuming that AccessControlContext from this class might be needed at some other place and its better if we remove it under [JDK-8342993](https://bugs.openjdk.org/browse/JDK-8342993)
>
> Jayathirth D V has updated the pull request incrementally with one additional commit since the last revision:
>
> Update based on review comments
LGTM, although there are some changes I cannot verify (notably iOS) and would be good to have someone check on those before merging
-------------
PR Review: https://git.openjdk.org/jfx/pull/1624#pullrequestreview-2418306947
More information about the openjfx-dev
mailing list