[
https://issues.apache.org/jira/browse/BCEL-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15393023#comment-15393023
]
Sam Yoon commented on BCEL-277:
-------------------------------
I attach patch and unit test.
You can also refer my pull request from Github.
https://github.com/apache/commons-bcel/pull/8/commits/04b56ea23d5d9b2b947abadb064d877a4a72d19b
https://github.com/apache/commons-bcel/pull/8/commits/c39f2c6ec365cbe3303a89bca2fdc73f898ee013
> Resolve constant to a string representation occur NoSuchElementException in
> case 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
> 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)