summaryrefslogtreecommitdiffstats
path: root/src/java/com/jogamp/common/util/IOUtil.java
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2023-01-14 21:29:29 +0100
committerSven Gothel <[email protected]>2023-01-14 21:29:29 +0100
commit1396c3ca6fc675dcf4bdea708c8a8c89d481e3b8 (patch)
treeaab2100371d332f86ffe2b86a906565fdb2576e2 /src/java/com/jogamp/common/util/IOUtil.java
parent8edb09f4851a713b0e9817b4d2f081e0de86eaf3 (diff)
Replace AccessController.doPrivileged() w/ SecurityUtil.doPrivileged()
Diffstat (limited to 'src/java/com/jogamp/common/util/IOUtil.java')
-rw-r--r--src/java/com/jogamp/common/util/IOUtil.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/java/com/jogamp/common/util/IOUtil.java b/src/java/com/jogamp/common/util/IOUtil.java
index 380cb00..045525c 100644
--- a/src/java/com/jogamp/common/util/IOUtil.java
+++ b/src/java/com/jogamp/common/util/IOUtil.java
@@ -48,7 +48,6 @@ import java.net.URISyntaxException;
import java.net.URL;
import java.net.URLConnection;
import java.nio.ByteBuffer;
-import java.security.AccessController;
import java.security.PrivilegedAction;
import java.util.ArrayList;
import java.util.List;
@@ -79,7 +78,7 @@ public class IOUtil {
static {
final boolean _props[] = { false, false, false, false, false, false };
- final Method[] res = AccessController.doPrivileged(new PrivilegedAction<Method[]>() {
+ final Method[] res = SecurityUtil.doPrivileged(new PrivilegedAction<Method[]>() {
@Override
public Method[] run() {
final Method[] res = new Method[] { null, null };