libbluray | branch: master | hpi1 <[email protected]> | Mon Mar 23 10:29:43 2015 +0200| [2a7b24f0d22a8fc827a0d78bf263b086cab9bbe4] | committer: hpi1
MountManager: Xlets are not allowed to call unmount()/unmountAll() directly > http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=2a7b24f0d22a8fc827a0d78bf263b086cab9bbe4 --- src/libbluray/bdj/java/org/videolan/MountManager.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/libbluray/bdj/java/org/videolan/MountManager.java b/src/libbluray/bdj/java/org/videolan/MountManager.java index 368f3a0..ce2978c 100644 --- a/src/libbluray/bdj/java/org/videolan/MountManager.java +++ b/src/libbluray/bdj/java/org/videolan/MountManager.java @@ -167,7 +167,7 @@ public class MountManager { } } - public static void unmount(int jarId) { + private static void unmount(int jarId) { logger.info("Unmounting JAR: " + jarId); final Integer id = new Integer(jarId); @@ -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"); Object[] dirs; @@ -208,6 +209,7 @@ public class MountManager { } } + /* called from org/dvb/dsmcc/ServiceDomain */ public static String getMount(int jarId) { Integer id = new Integer(jarId); MountPoint mountPoint; _______________________________________________ libbluray-devel mailing list [email protected] https://mailman.videolan.org/listinfo/libbluray-devel
