日志中的类名不对
git-svn-id: http://code.alibabatech.com/svn/dubbo/trunk@250 1a56cb94-b969-4eaa-88fa-be21384802f2
This commit is contained in:
parent
0dc490757a
commit
7e6a502ba3
|
|
@ -317,11 +317,11 @@ public class ExtensionLoader<T> {
|
|||
clazz.getConstructor();
|
||||
Extension extension = clazz.getAnnotation(Extension.class);
|
||||
if (extension == null) {
|
||||
throw new IllegalStateException("No such @Extension annotation in class " + type.getName());
|
||||
throw new IllegalStateException("No such @Extension annotation in class " + clazz.getName());
|
||||
}
|
||||
String name = extension.value();
|
||||
if (name == null || name.length() == 0) {
|
||||
throw new IllegalStateException("Illegal @Extension annotation in class " + type.getName());
|
||||
throw new IllegalStateException("Illegal @Extension annotation in class " + clazz.getName());
|
||||
}
|
||||
String[] names = NAME_SEPARATOR.split(name);
|
||||
for (String n : names) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue