[jboss-jira] [JBoss JIRA] Resolved: (JASSIST-117) javassist.bytecode.analysis.Type.getDimensions() throws StringIndexOutOfBoundsException

Shigeru Chiba (JIRA) jira-events at lists.jboss.org
Mon May 17 05:44:06 EDT 2010


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

Shigeru Chiba resolved JASSIST-117.
-----------------------------------

    Fix Version/s: 3.13.0.GA
       Resolution: Done


Thanks.  I've fixed it.

> javassist.bytecode.analysis.Type.getDimensions() throws StringIndexOutOfBoundsException
> ---------------------------------------------------------------------------------------
>
>                 Key: JASSIST-117
>                 URL: https://jira.jboss.org/browse/JASSIST-117
>             Project: Javassist
>          Issue Type: Bug
>    Affects Versions: 3.11.0.GA, 3.12.0.GA
>            Reporter: Yu Kobayashi
>            Assignee: Shigeru Chiba
>             Fix For: 3.13.0.GA
>
>
> javassist.bytecode.analysis.Type.getDimensions() throws StringIndexOutOfBoundsException 
> if class name is "A[]". 
> There is no problem if the array element class name have 2 characters or more.
> Line 211 should be 
> while (pos >= 0 && name.charAt(pos) == '[' ) {

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

        


More information about the jboss-jira mailing list