From a37cce2112d8287bd7cf7d27d1fcefa41176125c Mon Sep 17 00:00:00 2001 From: Reinhard Pointner Date: Thu, 9 Nov 2017 19:39:33 +0100 Subject: [PATCH] RuntimePermission("accessUserDefinedAttributes") --- source/net/filebot/format/SecureCompiledScript.java | 1 + 1 file changed, 1 insertion(+) diff --git a/source/net/filebot/format/SecureCompiledScript.java b/source/net/filebot/format/SecureCompiledScript.java index e79ce9a7..b18e33a8 100644 --- a/source/net/filebot/format/SecureCompiledScript.java +++ b/source/net/filebot/format/SecureCompiledScript.java @@ -42,6 +42,7 @@ public class SecureCompiledScript extends CompiledScript { permissions.add(new RuntimePermission("canProcessApplicationEvents")); permissions.add(new RuntimePermission("getenv.*")); permissions.add(new RuntimePermission("getFileSystemAttributes")); + permissions.add(new RuntimePermission("accessUserDefinedAttributes")); permissions.add(new RuntimePermission("readFileDescriptor")); permissions.add(new RuntimePermission("preferences")); permissions.add(new AWTPermission("toolkitModality"));