[jboss-jira] [JBoss JIRA] Created: (JBMICROCONT-118) Fix the introspection assumption in ClassInfo

Adrian Brock (JIRA) jira-events at jboss.com
Wed Dec 6 09:11:55 EST 2006


Fix the introspection assumption in ClassInfo
---------------------------------------------

                 Key: JBMICROCONT-118
                 URL: http://jira.jboss.com/jira/browse/JBMICROCONT-118
             Project: JBoss MicroContainer
          Issue Type: Task
          Components: BeanInfo
    Affects Versions: JBossMC_2_0_0 Beta
            Reporter: Adrian Brock
            Priority: Minor
             Fix For: JBossMC_2_0_0_CR1


Although the javassist version of the ClassInfo works fine, there are still some places
in the base ClassInfoImpl that assume introspection (i.e. java.lang.reflect objects).
The javassist impl works around these issues by subclassing.

Additionally, the deprecated ClassInfo.getType() needs removing.
This will require understanding where it is currently used and fixing it
(I think it is mainly related to determining the classloader?)
Moving this method and its dependencies to the ReflectClassInfoImpl

Whether we actually remove the deprecated method is another issue
since it is useful to temporarily fix problems (in future) where we don't provide an equivalent
in the ClassInfo api.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list