summaryrefslogtreecommitdiffstats
path: root/src/jogl/classes/com
diff options
context:
space:
mode:
Diffstat (limited to 'src/jogl/classes/com')
-rw-r--r--src/jogl/classes/com/jogamp/graph/font/FontFactory.java17
1 files changed, 1 insertions, 16 deletions
diff --git a/src/jogl/classes/com/jogamp/graph/font/FontFactory.java b/src/jogl/classes/com/jogamp/graph/font/FontFactory.java
index 1e83668de..65799db6f 100644
--- a/src/jogl/classes/com/jogamp/graph/font/FontFactory.java
+++ b/src/jogl/classes/com/jogamp/graph/font/FontFactory.java
@@ -80,22 +80,7 @@ public class FontFactory {
}
public static final Font get(final URL url) throws IOException {
- final IOException[] ioeA = new IOException[1];
-
- Font f = (Font) AccessController.doPrivileged(new PrivilegedAction() {
- public Object run() {
- try {
- return fontConstr.create(url);
- } catch (IOException ioe) {
- ioeA[0] = ioe;
- }
- return null;
- }
- });
- if(null != ioeA[0]) {
- throw ioeA[0];
- }
- return f;
+ return fontConstr.create(url);
}
public static boolean isPrintableChar( char c ) {