[libbluray-devel] BDJSecurityManager: grant java.net.URLPermission

hpi1 git at videolan.org
Thu May 19 15:06:03 CEST 2016


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed May 18 13:23:46 2016 +0300| [6b844efff854b318536d49ca321ad3cdb8b122c4] | committer: hpi1

BDJSecurityManager: grant java.net.URLPermission

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

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

diff --git a/src/libbluray/bdj/java/org/videolan/BDJSecurityManager.java b/src/libbluray/bdj/java/org/videolan/BDJSecurityManager.java
index ba48bda..6b25ee1 100644
--- a/src/libbluray/bdj/java/org/videolan/BDJSecurityManager.java
+++ b/src/libbluray/bdj/java/org/videolan/BDJSecurityManager.java
@@ -145,6 +145,10 @@ final class BDJSecurityManager extends SecurityManager {
                 return;
             }
         }
+        else if (perm instanceof java.net.URLPermission) {
+            logger.info("grant " + perm);
+            return;
+        }
 
         /* Java TV */
         else if (perm instanceof javax.tv.service.ReadPermission) {



More information about the libbluray-devel mailing list