From 8a70c5ded0d9619ebe3e4871447a1ebe831617bc Mon Sep 17 00:00:00 2001 From: Ulugbek Date: Thu, 21 Jul 2022 14:33:36 +0200 Subject: [PATCH] classlib: add `TAccessController(TPrivilegedExceptionAction) T` --- .../org/teavm/classlib/java/security/TAccessController.java | 4 ++++ 1 file changed, 4 insertions(+) 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(); + } }