You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avalon.apache.org by Stephen McConnell <mc...@apache.org> on 2004/08/24 04:11:45 UTC
[patch] runtime/meta/tools
The following patch corrects the meta-info generator task to return the
supplied classname as opposed to throwing an exception. In practice the
supplied classname may be perfectly valid but not within the scope of
the classloader that is handling the source scanning.
This patch should correct a number of project failures that exist in the
current gump build.
Stephen.
Index:
runtime/tools/src/java/org/apache/avalon/meta/info/builder/tags/Abstract
Tag.java
===================================================================
---
tools/src/java/org/apache/avalon/meta/info/builder/tags/AbstractTag.java
(revision 36791)
+++
tools/src/java/org/apache/avalon/meta/info/builder/tags/AbstractTag.java
(working copy)
@@ -204,10 +204,7 @@
}
if( resolvedType == null )
{
- final String message =
- "Unable to find type " + type
- + " in class " + getJavaClass().getFullyQualifiedName();
- throw new RuntimeException( message );
+ return type;
}
else
{
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@avalon.apache.org
For additional commands, e-mail: dev-help@avalon.apache.org