[libbluray-devel] Check for null
hpi1
git at videolan.org
Mon Oct 27 10:38:24 CET 2014
libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Mon Sep 15 14:21:14 2014 +0300| [feec466e18887afb3b07ad6fd4567a6ce1388ec4] | committer: hpi1
Check for null
> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=feec466e18887afb3b07ad6fd4567a6ce1388ec4
---
src/libbluray/bdj/java/org/videolan/BDJLoader.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/libbluray/bdj/java/org/videolan/BDJLoader.java b/src/libbluray/bdj/java/org/videolan/BDJLoader.java
index 1d1e199..1ad389d 100644
--- a/src/libbluray/bdj/java/org/videolan/BDJLoader.java
+++ b/src/libbluray/bdj/java/org/videolan/BDJLoader.java
@@ -115,7 +115,7 @@ public class BDJLoader {
}
}
if (proxy != null) {
- logger.info("Terminating xlet " + entry.getInitialClass());
+ logger.info("Terminating xlet " + (entry == null ? "?" : entry.getInitialClass()));
proxy.release();
}
}
More information about the libbluray-devel
mailing list