[libbluray-devel] JSM: reduce logging of denied System.getProperty()

hpi1 git at videolan.org
Wed Apr 15 10:22:26 CEST 2015


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Apr 15 10:53:58 2015 +0300| [cda2af16ba9c067e1b2461967c88f24b0e1aa320] | committer: hpi1

JSM: reduce logging of denied System.getProperty()

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=cda2af16ba9c067e1b2461967c88f24b0e1aa320
---

 src/libbluray/bdj/java/org/videolan/BDJSecurityManager.java |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/libbluray/bdj/java/org/videolan/BDJSecurityManager.java b/src/libbluray/bdj/java/org/videolan/BDJSecurityManager.java
index d75da32..38f8ac5 100644
--- a/src/libbluray/bdj/java/org/videolan/BDJSecurityManager.java
+++ b/src/libbluray/bdj/java/org/videolan/BDJSecurityManager.java
@@ -98,8 +98,8 @@ final class BDJSecurityManager extends SecurityManager {
             try {
                 super.checkPermission(perm);
             } catch (Exception e) {
-                logger.error(perm + " denied by system");
-                deny(perm);
+                logger.info(perm + " denied by system");
+                throw new SecurityException("denied " + perm);
             }
         }
 



More information about the libbluray-devel mailing list