commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r1003758 - /commons/proper/daemon/trunk/src/native/windows/src/javajni.c
Date Sat, 02 Oct 2010 09:40:47 GMT
Author: mturk
Date: Sat Oct  2 09:40:47 2010
New Revision: 1003758

URL: http://svn.apache.org/viewvc?rev=1003758&view=rev
Log:
Log jvm.dll load attempts with the candidate paths

Modified:
    commons/proper/daemon/trunk/src/native/windows/src/javajni.c

Modified: commons/proper/daemon/trunk/src/native/windows/src/javajni.c
URL: http://svn.apache.org/viewvc/commons/proper/daemon/trunk/src/native/windows/src/javajni.c?rev=1003758&r1=1003757&r2=1003758&view=diff
==============================================================================
--- commons/proper/daemon/trunk/src/native/windows/src/javajni.c (original)
+++ commons/proper/daemon/trunk/src/native/windows/src/javajni.c Sat Oct  2 09:40:47 2010
@@ -188,6 +188,7 @@ static BOOL __apxLoadJvmDll(LPCWSTR szJv
     /* Suppress the not found system popup message */
     errMode = SetErrorMode(SEM_FAILCRITICALERRORS);
 
+    apxLogWrite(APXLOG_MARK_DEBUG "loading jvm '%S'", dllJvmPath);
     _st_sys_jvmDllHandle = LoadLibraryExW(dllJvmPath, NULL, 0);
     if (GetFileAttributesW(szJvmDllPath) != INVALID_FILE_ATTRIBUTES) {
         /* Try to load the MSVCRTxx.dll before JVM.dll
@@ -206,6 +207,7 @@ static BOOL __apxLoadJvmDll(LPCWSTR szJv
                     if (LoadLibraryW(crtBinPath)) {
                         /* Found MSVCRTxx.dll
                          */
+                        apxLogWrite(APXLOG_MARK_DEBUG "preloaded '%S'", crtBinPath);
                         break;
                     }
                 }



Mime
View raw message