[
https://issues.apache.org/jira/browse/BCEL-277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15397390#comment-15397390
]
ASF GitHub Bot commented on BCEL-277:
-------------------------------------
GitHub user KyongSik-Yoon opened a pull request:
https://github.com/apache/commons-bcel/pull/9
BCEL-277 Resolve constant to a string representation occur
NoSuchElementException in case CONSTANT_NameAndType constant.
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.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/KyongSik-Yoon/commons-bcel BCEL-277
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/commons-bcel/pull/9.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #9
----
commit 53e91a2259a3656ef81334d00bc2bfea2b14d626
Author: sam <[email protected]>
Date: 2016-07-28T10:52:06Z
BCEL-277 Resolve constant to a string representation occur
NoSuchElementException in case CONSTANT_NameAndType constant.
----
> 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
> 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)