提交 023c95c3 编写于 作者: W william.liangf

DUBBO-396 Spring配置时,filter属性配置上default值时出异常

git-svn-id: http://code.alibabatech.com/svn/dubbo/trunk@1883 1a56cb94-b969-4eaa-88fa-be21384802f2
上级 e8264c94
......@@ -366,6 +366,9 @@ public abstract class AbstractConfig implements Serializable {
if (v.startsWith(Constants.REMOVE_VALUE_PREFIX)) {
v = v.substring(1);
}
if (Constants.DEFAULT_KEY.equals(v)) {
continue;
}
if (! ExtensionLoader.getExtensionLoader(type).hasExtension(v)) {
throw new IllegalStateException("No such extension " + v + " for " + property + "/" + type.getName());
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册