diff --git a/classlib/src/main/java/org/teavm/classlib/java/security/TAccessController.java b/classlib/src/main/java/org/teavm/classlib/java/security/TAccessController.java index d2f9cc43c..a34f8e1cb 100644 --- a/classlib/src/main/java/org/teavm/classlib/java/security/TAccessController.java +++ b/classlib/src/main/java/org/teavm/classlib/java/security/TAccessController.java @@ -22,4 +22,8 @@ public final class TAccessController { public static T doPrivileged(TPrivilegedAction action) { return action.run(); } + + public static T doPrivileged(TPrivilegedExceptionAction action) { + return action.run(); + } }