[jboss-jira] [JBoss JIRA] Created: (JBREM-579) transporter does not handle reflection conversion for primitive types

Tom Elrod (JIRA) jira-events at jboss.com
Mon Aug 14 01:14:15 EDT 2006


transporter does not handle reflection conversion for primitive types
---------------------------------------------------------------------

                 Key: JBREM-579
                 URL: http://jira.jboss.com/jira/browse/JBREM-579
             Project: JBoss Remoting
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: transporter
    Affects Versions: 2.0.0.CR1 (Boon)
            Reporter: Tom  Elrod
         Assigned To: Tom  Elrod
             Fix For: 2.0.0.GA (Boon)


When the TransporterHandler receives an invocation request and uses reflection to make the call on the target object, it does not take into account primitive types for the signature type.  So need to explicitly check for primitive types in method signature and do manual conversion of type provided by reflection to the real primitive class type.  For example, reflection will say that int type argument is 'int' and needs to be converted to Integer.TYPE.

-- 
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