Commit 2a7b24f0 authored by hpi1's avatar hpi1

MountManager: Xlets are not allowed to call unmount()/unmountAll() directly

parent 074c2180
...@@ -167,7 +167,7 @@ public class MountManager { ...@@ -167,7 +167,7 @@ public class MountManager {
} }
} }
public static void unmount(int jarId) { private static void unmount(int jarId) {
logger.info("Unmounting JAR: " + jarId); logger.info("Unmounting JAR: " + jarId);
final Integer id = new Integer(jarId); final Integer id = new Integer(jarId);
...@@ -192,7 +192,8 @@ public class MountManager { ...@@ -192,7 +192,8 @@ public class MountManager {
} }
} }
public static void unmountAll() { /* package private, called from Libbluray.shutdown() */
protected static void unmountAll() {
logger.info("Unmounting all JARs"); logger.info("Unmounting all JARs");
Object[] dirs; Object[] dirs;
...@@ -208,6 +209,7 @@ public class MountManager { ...@@ -208,6 +209,7 @@ public class MountManager {
} }
} }
/* called from org/dvb/dsmcc/ServiceDomain */
public static String getMount(int jarId) { public static String getMount(int jarId) {
Integer id = new Integer(jarId); Integer id = new Integer(jarId);
MountPoint mountPoint; MountPoint mountPoint;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment