You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hivemind.apache.org by hi...@jakarta.apache.org on 2004/10/05 19:16:31 UTC
[jira] Created: (HIVEMIND-66) Improve ClassResolver resolution for primitives & arrays
Message:
A new issue has been created in JIRA.
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/HIVEMIND-66
Here is an overview of the issue:
---------------------------------------------------------------------
Key: HIVEMIND-66
Summary: Improve ClassResolver resolution for primitives & arrays
Type: Improvement
Status: Unassigned
Priority: Minor
Project: HiveMind
Components:
framework
Fix Fors:
1.1
Assignee:
Reporter: Howard M. Lewis Ship
Created: Tue, 5 Oct 2004 10:16 AM
Updated: Tue, 5 Oct 2004 10:16 AM
Description:
The current contract for ClassResolver is that you may pass in a class name, and it will provide back the Class (it's value add is knowing how to delegate properly to a ClassLoader, and reporting errors on failure).
However, if you pass in an object array (say, java.lang.Throwable[]), you'll get an error.
CR should properly convert Java-style array ("java.lang.Throwable[]") to JVM style ("[Ljava.lang.Throwable;") which is what the ClassLoader needs.
The code to do this is available as part of Tapestry (org.apache.tapestry.enhance.JavaTypeUtils).
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org
[jira] Closed: (HIVEMIND-66) Improve ClassResolver resolution for primitives & arrays
Posted by "Howard M. Lewis Ship (JIRA)" <hi...@jakarta.apache.org>.
[ http://nagoya.apache.org/jira/browse/HIVEMIND-66?page=history ]
Howard M. Lewis Ship closed HIVEMIND-66:
----------------------------------------
Resolution: Fixed
> Improve ClassResolver resolution for primitives & arrays
> --------------------------------------------------------
>
> Key: HIVEMIND-66
> URL: http://nagoya.apache.org/jira/browse/HIVEMIND-66
> Project: HiveMind
> Type: Improvement
> Components: framework
> Reporter: Howard M. Lewis Ship
> Priority: Minor
> Fix For: 1.1
>
> The current contract for ClassResolver is that you may pass in a class name, and it will provide back the Class (it's value add is knowing how to delegate properly to a ClassLoader, and reporting errors on failure).
> However, if you pass in an object array (say, java.lang.Throwable[]), you'll get an error.
> CR should properly convert Java-style array ("java.lang.Throwable[]") to JVM style ("[Ljava.lang.Throwable;") which is what the ClassLoader needs.
> The code to do this is available as part of Tapestry (org.apache.tapestry.enhance.JavaTypeUtils).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://nagoya.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: hivemind-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: hivemind-dev-help@jakarta.apache.org