harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gshiman...@apache.org
Subject svn commit: r530014 - /harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp
Date Wed, 18 Apr 2007 13:31:13 GMT
Author: gshimansky
Date: Wed Apr 18 06:31:12 2007
New Revision: 530014

URL: http://svn.apache.org/viewvc?view=rev&rev=530014
Log:
Applied verbose-class patch for HARMONY-1847 ([drlvm] -verbose option does nothing)


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=530014&r1=530013&r2=530014
==============================================================================
--- harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp (original)
+++ harmony/enhanced/drlvm/trunk/vm/vmcore/src/class_support/classloader.cpp Wed Apr 18 06:31:12
2007
@@ -1560,7 +1560,10 @@
         // if loading of this class was delegated to some other CL
         //      signal successful loading for our CL
         SuccessLoadingClass(className);
-    }
+    } else
+    	INFO2("class", "[Loaded " << (NULL != className ? className->bytes : "NULL")
<<
+              " by " << (NULL != clss->get_class_loader()->GetName() ? clss->get_class_loader()->GetName()->bytes
: "NULL")
+               << "]");
     return clss;
 } // UserDefinedClassLoader::DoLoadClass
 
@@ -1692,7 +1695,7 @@
     }
     STD_FREE(buf);
     apr_pool_destroy(local_pool);
-
+    INFO2("class", "[Loaded " << (NULL != class_name ? class_name->bytes : "NULL")
<< " from " << dir_name->bytes << "]");
     return clss;
 } // BootstrapClassLoader::LoadFromClassFile
 
@@ -1734,6 +1737,7 @@
 
     STD_FREE(buffer);
 
+    INFO2("class", "[Loaded " << (NULL != class_name ? class_name->bytes : "NULL")
<< " from " << jar_file->GetName()  << "]");
     return clss;
 } // BootstrapClassLoader::LoadFromJarFile
 



Mime
View raw message