[jboss-jira] [JBoss JIRA] Created: (JASSIST-117) javassist.bytecode.analysis.Type.getDimensions() throws StringIndexOutOfBoundsException
Yu Kobayashi (JIRA)
jira-events at lists.jboss.org
Mon May 17 04:20:06 EDT 2010
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.12.0.GA, 3.11.0.GA
Reporter: Yu Kobayashi
Assignee: Shigeru Chiba
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