[JBoss JIRA] (ROASTER-85) StringIndexOutOfBoundsException when handling nested typed parameters
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-85?page=com.atlassian.jira.plugin... ]
George Gastaldi closed ROASTER-85.
----------------------------------
> StringIndexOutOfBoundsException when handling nested typed parameters
> ---------------------------------------------------------------------
>
> Key: ROASTER-85
> URL: https://issues.jboss.org/browse/ROASTER-85
> Project: Roaster
> Issue Type: Bug
> Components: API
> Affects Versions: 2.17.1.Final
> Reporter: Stephan Windmüller
> Assignee: Stephan Windmüller
> Fix For: 2.17.2.Final
>
>
> When parsing a Type object with nested types, like {{java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>}}, a StringIndexOutOfBoundsException is thrown:
> {{java.lang.StringIndexOutOfBoundsException: String index out of range: -5
> at java.lang.String.substring(String.java:1967)
> at org.jboss.forge.roaster.model.util.Types.isGeneric(Types.java:297)
> at org.jboss.forge.roaster.model.util.Types.validateNameWithGenerics(Types.java:311)
> at org.jboss.forge.roaster.model.util.Types.isGeneric(Types.java:301)}}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (ROASTER-85) StringIndexOutOfBoundsException when handling nested typed parameters
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-85?page=com.atlassian.jira.plugin... ]
George Gastaldi reopened ROASTER-85:
------------------------------------
> StringIndexOutOfBoundsException when handling nested typed parameters
> ---------------------------------------------------------------------
>
> Key: ROASTER-85
> URL: https://issues.jboss.org/browse/ROASTER-85
> Project: Roaster
> Issue Type: Bug
> Components: API
> Affects Versions: 2.17.1.Final
> Reporter: Stephan Windmüller
> Assignee: Stephan Windmüller
> Fix For: 2.17.2.Final
>
>
> When parsing a Type object with nested types, like {{java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>}}, a StringIndexOutOfBoundsException is thrown:
> {{java.lang.StringIndexOutOfBoundsException: String index out of range: -5
> at java.lang.String.substring(String.java:1967)
> at org.jboss.forge.roaster.model.util.Types.isGeneric(Types.java:297)
> at org.jboss.forge.roaster.model.util.Types.validateNameWithGenerics(Types.java:311)
> at org.jboss.forge.roaster.model.util.Types.isGeneric(Types.java:301)}}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (ROASTER-85) StringIndexOutOfBoundsException when handling nested typed parameters
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-85?page=com.atlassian.jira.plugin... ]
George Gastaldi updated ROASTER-85:
-----------------------------------
Component/s: JDT
(was: API)
> StringIndexOutOfBoundsException when handling nested typed parameters
> ---------------------------------------------------------------------
>
> Key: ROASTER-85
> URL: https://issues.jboss.org/browse/ROASTER-85
> Project: Roaster
> Issue Type: Bug
> Components: JDT
> Affects Versions: 2.17.1.Final
> Reporter: Stephan Windmüller
> Assignee: Stephan Windmüller
> Fix For: 2.17.2.Final
>
>
> When parsing a Type object with nested types, like {{java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>}}, a StringIndexOutOfBoundsException is thrown:
> {{java.lang.StringIndexOutOfBoundsException: String index out of range: -5
> at java.lang.String.substring(String.java:1967)
> at org.jboss.forge.roaster.model.util.Types.isGeneric(Types.java:297)
> at org.jboss.forge.roaster.model.util.Types.validateNameWithGenerics(Types.java:311)
> at org.jboss.forge.roaster.model.util.Types.isGeneric(Types.java:301)}}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (ROASTER-85) StringIndexOutOfBoundsException when handling nested typed parameters
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-85?page=com.atlassian.jira.plugin... ]
George Gastaldi reassigned ROASTER-85:
--------------------------------------
Assignee: Stephan Windmüller
> StringIndexOutOfBoundsException when handling nested typed parameters
> ---------------------------------------------------------------------
>
> Key: ROASTER-85
> URL: https://issues.jboss.org/browse/ROASTER-85
> Project: Roaster
> Issue Type: Bug
> Components: API
> Affects Versions: 2.17.1.Final
> Reporter: Stephan Windmüller
> Assignee: Stephan Windmüller
> Fix For: 2.17.2.Final
>
>
> When parsing a Type object with nested types, like {{java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>}}, a StringIndexOutOfBoundsException is thrown:
> {{java.lang.StringIndexOutOfBoundsException: String index out of range: -5
> at java.lang.String.substring(String.java:1967)
> at org.jboss.forge.roaster.model.util.Types.isGeneric(Types.java:297)
> at org.jboss.forge.roaster.model.util.Types.validateNameWithGenerics(Types.java:311)
> at org.jboss.forge.roaster.model.util.Types.isGeneric(Types.java:301)}}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month
[JBoss JIRA] (ROASTER-85) StringIndexOutOfBoundsException when handling nested typed parameters
by George Gastaldi (JIRA)
[ https://issues.jboss.org/browse/ROASTER-85?page=com.atlassian.jira.plugin... ]
George Gastaldi updated ROASTER-85:
-----------------------------------
Fix Version/s: 2.17.2.Final
> StringIndexOutOfBoundsException when handling nested typed parameters
> ---------------------------------------------------------------------
>
> Key: ROASTER-85
> URL: https://issues.jboss.org/browse/ROASTER-85
> Project: Roaster
> Issue Type: Bug
> Components: API
> Affects Versions: 2.17.1.Final
> Reporter: Stephan Windmüller
> Fix For: 2.17.2.Final
>
>
> When parsing a Type object with nested types, like {{java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>>}}, a StringIndexOutOfBoundsException is thrown:
> {{java.lang.StringIndexOutOfBoundsException: String index out of range: -5
> at java.lang.String.substring(String.java:1967)
> at org.jboss.forge.roaster.model.util.Types.isGeneric(Types.java:297)
> at org.jboss.forge.roaster.model.util.Types.validateNameWithGenerics(Types.java:311)
> at org.jboss.forge.roaster.model.util.Types.isGeneric(Types.java:301)}}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 1 month