summaryrefslogtreecommitdiffstats
path: root/dalvik
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2012-01-24 17:13:54 -0800
committerElliott Hughes <enh@google.com>2012-08-01 12:45:11 -0700
commit3bbe5318c343b1b7c945be717cc55b4ab15874f2 (patch)
treedc01fe006d2ab8d1e149ee6772f615ed73742bba /dalvik
parent8588cab1581a385445714570c55eced54bdabd97 (diff)
downloadlibcore-3bbe5318c343b1b7c945be717cc55b4ab15874f2.zip
libcore-3bbe5318c343b1b7c945be717cc55b4ab15874f2.tar.gz
libcore-3bbe5318c343b1b7c945be717cc55b4ab15874f2.tar.bz2
Improve the BaseDexClassLoader detail message, and make ScopedLocalRef more unique_ptr-like.
(cherry-pick of 1c459db4ea31c1f284353bc71bfd2dbc97ca53d7.) Conflicts: include/ScopedLocalRef.h Change-Id: Id01cb907406cc93f6b0f6ddaa8e7fb3714d18c53
Diffstat (limited to 'dalvik')
-rw-r--r--dalvik/src/main/java/dalvik/system/BaseDexClassLoader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/dalvik/src/main/java/dalvik/system/BaseDexClassLoader.java b/dalvik/src/main/java/dalvik/system/BaseDexClassLoader.java
index ab24f0b..5782fd9 100644
--- a/dalvik/src/main/java/dalvik/system/BaseDexClassLoader.java
+++ b/dalvik/src/main/java/dalvik/system/BaseDexClassLoader.java
@@ -58,7 +58,7 @@ public class BaseDexClassLoader extends ClassLoader {
Class clazz = pathList.findClass(name);
if (clazz == null) {
- throw new ClassNotFoundException(name);
+ throw new ClassNotFoundException("Didn't find class \"" + name + "\" on path: " + originalPath);
}
return clazz;