commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1000819 - /commons/proper/daemon/trunk/src/samples/ProcrunService.java
Date Fri, 24 Sep 2010 11:36:51 GMT
Author: mturk
Date: Fri Sep 24 11:36:51 2010
New Revision: 1000819

URL: http://svn.apache.org/viewvc?rev=1000819&view=rev
Log:
Dump context ClassLoader

Modified:
    commons/proper/daemon/trunk/src/samples/ProcrunService.java

Modified: commons/proper/daemon/trunk/src/samples/ProcrunService.java
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/samples/ProcrunService.java?rev=1000819&r1=1000818&r2=1000819&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/samples/ProcrunService.java (original)
+++ commons/proper/daemon/trunk/src/samples/ProcrunService.java Fri Sep 24 11:36:51 2010
@@ -86,6 +86,11 @@ public class ProcrunService implements R
 
     private static void logSystemEnvironment()
     {
+        ClassLoader cl = Thread.currentThread().getContextClassLoader();
+        if (cl == null)
+            log("Missing currentThread context ClassLoader");
+        else
+            log("Using context ClassLoader : " + cl.toString());
         log("Program environment: ");
 
         Map        em = System.getenv();



Mime
View raw message