[jboss-jira] [JBoss JIRA] Created: (JBREFLECT-39) Cryptic Error Message
Adrian Brock (JIRA)
jira-events at lists.jboss.org
Mon Oct 20 05:21:21 EDT 2008
Cryptic Error Message
---------------------
Key: JBREFLECT-39
URL: https://jira.jboss.org/jira/browse/JBREFLECT-39
Project: JBoss Reflection
Issue Type: Task
Components: ClassInfo
Affects Versions: JBossReflection.2.0.0.CR1
Reporter: Adrian Brock
This blog entry
http://merike.pri.ee/mind/2008/10/15/cryptic-jboss-error/
shows there is some issue with how parameter annotations work across JDKs.
Although I think GCJ is actually wrong if you read the javadoc
http://java.sun.com/j2se/1.5.0/docs/api/java/lang/reflect/Method.html#getParameterAnnotations()
since the parameter annotations array should be the same length as the number of parameters
we can certainly give a better error message than an ArrayIndex error.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list