commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benedikt Ritter (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (BCEL-277) Resolving the String representation of a constant throws NoSuchElementException in case of CONSTANT_NameAndType constant.
Date Fri, 29 Jul 2016 08:11:21 GMT

     [ https://issues.apache.org/jira/browse/BCEL-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benedikt Ritter resolved BCEL-277.
----------------------------------
    Resolution: Fixed

> Resolving the String representation of a constant throws NoSuchElementException in case
of CONSTANT_NameAndType constant.
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: BCEL-277
>                 URL: https://issues.apache.org/jira/browse/BCEL-277
>             Project: Commons BCEL
>          Issue Type: Bug
>          Components: Main
>    Affects Versions: 6.0
>            Reporter: Sam Yoon
>            Assignee: Benedikt Ritter
>              Labels: github
>             Fix For: 6.1
>
>         Attachments: ConstantPoolTestCase.java, SimpleClassWithDefaultConstructor.java,
patch
>
>
> A method that constantToString of ConstantPool class always occur NoSuchElementException
when face with costant type of CONSTANT_NameAndType.
> A reason is invalid separator for StringTokenizer that colon. It should be replaced to
empty string.
> I had pull request include ConstantPoolTestCase.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message