[libbluray-devel] Build fix (java 1.4)

hpi1 git at videolan.org
Sat Feb 9 17:10:49 CET 2013


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Sat Feb  9 18:10:00 2013 +0200| [0f15d4f42cdc09b571629e5dcf5310534eabe28b] | committer: hpi1

Build fix (java 1.4)

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

 src/libbluray/bdj/java/org/videolan/Logger.java |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libbluray/bdj/java/org/videolan/Logger.java b/src/libbluray/bdj/java/org/videolan/Logger.java
index cdd4cb1..a457ec4 100644
--- a/src/libbluray/bdj/java/org/videolan/Logger.java
+++ b/src/libbluray/bdj/java/org/videolan/Logger.java
@@ -71,7 +71,7 @@ public class Logger {
     }
 
     public static void dumpStack() {
-        java.lang.StackTraceElement e[] = java.lang.Thread.currentThread().getStackTrace();
+        StackTraceElement e[] = new Exception("Stack trace").getStackTrace();
         for (int i = 2; i < e.length; i++)
             log("    " + e[i].toString());
     }



More information about the libbluray-devel mailing list