harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r548406 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp
Date Mon, 18 Jun 2007 16:37:04 GMT
Author: gshimansky
Date: Mon Jun 18 09:37:02 2007
New Revision: 548406

URL: http://svn.apache.org/viewvc?view=rev&rev=548406
Log:
Applied HARMONY-4063
[drlvm][classloader] Crash in the classoader on BootstrapClassLoader initialization


Modified:
    harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp

Modified: harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp?view=diff&rev=548406&r1=548405&r2=548406
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp Mon Jun 18 09:37:02
2007
@@ -1313,8 +1313,10 @@
         
         strcpy(vmboot, kernel_path);
         strcat(vmboot, PORT_PATH_SEPARATOR_STR);
-        strcat(vmboot, luni_path);
-        m_env->JavaProperties()->destroy(luni_path);
+        if(luni_path != NULL) {
+            strcat(vmboot, luni_path);
+            m_env->JavaProperties()->destroy(luni_path);
+        }
 
         free(kernel_path);
         bcp_value = vmboot;



Mime
View raw message