summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2008-03-19 13:10:39 +0000
committerchiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3>2008-03-19 13:10:39 +0000
commit156fbee7d6f377c3186cc2a4bed397944b1a9d39 (patch)
treeb6ae8dc59bc106a69a79dcbb0ef208e2f9d25910
parentd3fa7e4cc83e834e3ff6f436861c6a47173ae323 (diff)
downloadjavassist-156fbee7d6f377c3186cc2a4bed397944b1a9d39.tar.gz
javassist-156fbee7d6f377c3186cc2a4bed397944b1a9d39.zip
fixed JASSIST-54
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@428 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
-rw-r--r--src/main/javassist/tools/reflect/ClassMetaobject.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/javassist/tools/reflect/ClassMetaobject.java b/src/main/javassist/tools/reflect/ClassMetaobject.java
index 04dfe27b..208d104a 100644
--- a/src/main/javassist/tools/reflect/ClassMetaobject.java
+++ b/src/main/javassist/tools/reflect/ClassMetaobject.java
@@ -73,7 +73,9 @@ public class ClassMetaobject implements Serializable {
javaClass = getClassObject(params[0]);
}
catch (ClassNotFoundException e) {
- javaClass = null;
+ throw new RuntimeException("not found: " + params[0]
+ + ", useContextClassLoader: "
+ + Boolean.toString(useContextClassLoader), e);
}
constructors = javaClass.getConstructors();