Integrated: 8342454: Remove calls to doPrivileged in javafx.graphics/com.sun.glass
Jayathirth D V
jdv at openjdk.org
Fri Nov 8 12:30:46 UTC 2024
On Tue, 5 Nov 2024 06:12:20 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)
This pull request has now been integrated.
Changeset: 4213db7c
Author: Jayathirth D V <jdv at openjdk.org>
Committer: Lukasz Kostyra <lkostyra at openjdk.org>
URL: https://git.openjdk.org/jfx/commit/4213db7c2b5c1fe4e58cda969a420fc2c02f5ab1
Stats: 450 lines in 35 files changed: 16 ins; 263 del; 171 mod
8342454: Remove calls to doPrivileged in javafx.graphics/com.sun.glass
Reviewed-by: kcr, lkostyra, jvos
-------------
PR: https://git.openjdk.org/jfx/pull/1624
More information about the openjfx-dev
mailing list