[libbluray-devel] Revert "JSM: deny setFactory() while BD-J is running."
hpi1
git at videolan.org
Wed Mar 4 10:30:19 CET 2015
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Wed Mar 4 10:12:38 2015 +0200| [6e9a8eb094774257a635ab5abcc9294d004833ae] | committer: hpi1
Revert "JSM: deny setFactory() while BD-J is running."
Allow system code to set factory. Some http related clases require this.
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=6e9a8eb094774257a635ab5abcc9294d004833ae
---
src/libbluray/bdj/java/org/videolan/BDJSecurityManager.java | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/libbluray/bdj/java/org/videolan/BDJSecurityManager.java b/src/libbluray/bdj/java/org/videolan/BDJSecurityManager.java
index bb54ea9..b7aadb7 100644
--- a/src/libbluray/bdj/java/org/videolan/BDJSecurityManager.java
+++ b/src/libbluray/bdj/java/org/videolan/BDJSecurityManager.java
@@ -99,11 +99,6 @@ final class BDJSecurityManager extends SecurityManager {
throw new SecurityException("exit denied");
}
- public void checkSetFactory() {
- logger.error("setFactory() denied\n" + Logger.dumpStack());
- throw new SecurityException("setFactory denied");
- }
-
public void checkRead(String file) {
//super.checkRead(file);
if (usingUdf) {
More information about the libbluray-devel
mailing list