RFR: 8342454: Remove calls to doPrivileged in javafx.graphics/com.sun.glass [v3]

Jayathirth D V jdv at openjdk.org
Thu Nov 7 07:15:59 UTC 2024


> 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 execute action

-------------

Changes:
  - all: https://git.openjdk.org/jfx/pull/1624/files
  - new: https://git.openjdk.org/jfx/pull/1624/files/d00dcdba..c40554a7

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1624&range=02
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1624&range=01-02

  Stats: 5 lines in 1 file changed: 0 ins; 2 del; 3 mod
  Patch: https://git.openjdk.org/jfx/pull/1624.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1624/head:pull/1624

PR: https://git.openjdk.org/jfx/pull/1624


More information about the openjfx-dev mailing list