[jboss-jira] [JBoss JIRA] Closed: (JASSIST-58) Complie error on autoboxing

Shigeru Chiba (JIRA) jira-events at lists.jboss.org
Thu Apr 15 10:45:26 EDT 2010


     [ https://jira.jboss.org/jira/browse/JASSIST-58?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shigeru Chiba closed JASSIST-58.
--------------------------------



> Complie error on autoboxing
> ---------------------------
>
>                 Key: JASSIST-58
>                 URL: https://jira.jboss.org/jira/browse/JASSIST-58
>             Project: Javassist
>          Issue Type: Bug
>            Reporter: Guy Korland
>            Assignee: Shigeru Chiba
>
> e.g.
> 1. call the following method: void foo(Object obj) as foo(1) causes compile error.
> 2. casting a primitive to Object causes a compile error e.g.: (Object )1.
> The first error is caused by the MemberResolver.compareSignature() line 220:
> if (j < 0 || argTypes[n] != CLASS)
>                     return NO;
> Should be changed to 
> if (j < 0)
>                     return NO;
> The second error caused by CodeGen line 1395:
> if (type == CLASS)
> Should be removed

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