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)

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

Commit messages:
 - Remove PrivilegedAction and AccessControl imports
 - Remove doPrivileged calls

Changes: https://git.openjdk.org/jfx/pull/1624/files
  Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1624&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8342454
  Stats: 436 lines in 35 files changed: 17 ins; 250 del; 169 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

Reply via email to