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