You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xmlbeans.apache.org by ra...@apache.org on 2005/10/21 21:14:03 UTC
svn commit: r327246 -
/xmlbeans/trunk/src/xmlconfig/org/apache/xmlbeans/impl/config/InterfaceExtensionImpl.java
Author: radup
Date: Fri Oct 21 12:13:53 2005
New Revision: 327246
URL: http://svn.apache.org/viewcvs?rev=327246&view=rev
Log:
Fix for XMLBEANS-162. Was returning wrong error message.
Contributed by Lawrence Jones
Modified:
xmlbeans/trunk/src/xmlconfig/org/apache/xmlbeans/impl/config/InterfaceExtensionImpl.java
Modified: xmlbeans/trunk/src/xmlconfig/org/apache/xmlbeans/impl/config/InterfaceExtensionImpl.java
URL: http://svn.apache.org/viewcvs/xmlbeans/trunk/src/xmlconfig/org/apache/xmlbeans/impl/config/InterfaceExtensionImpl.java?rev=327246&r1=327245&r2=327246&view=diff
==============================================================================
--- xmlbeans/trunk/src/xmlconfig/org/apache/xmlbeans/impl/config/InterfaceExtensionImpl.java (original)
+++ xmlbeans/trunk/src/xmlconfig/org/apache/xmlbeans/impl/config/InterfaceExtensionImpl.java Fri Oct 21 12:13:53 2005
@@ -79,7 +79,7 @@
final String ent = isInterface ? "Interface" : "Class";
JClass cls = loader.loadClass(clsStr);
- if (cls==null)
+ if (cls==null || cls.isUnresolvedType())
{
BindingConfigImpl.error(ent + " '" + clsStr + "' not found.", loc);
return null;
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: commits-help@xmlbeans.apache.org