commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BCEL-278) InvokeInstruction.toString(final ConstantPool cp) throws NoSuchElementException
Date Wed, 17 Aug 2016 21:51:21 GMT

    [ https://issues.apache.org/jira/browse/BCEL-278?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15425452#comment-15425452
] 

ASF GitHub Bot commented on BCEL-278:
-------------------------------------

GitHub user valery-barysok opened a pull request:

    https://github.com/apache/commons-bcel/pull/11

    BCEL-278: Resolving NoSuchElementException

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/valery-barysok/commons-bcel trunk

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/commons-bcel/pull/11.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 #11
    
----
commit f7bf3250a2a6e7f45bb1261e31c8ed2c979b149b
Author: Valery Barysok <valery.barysok@gmail.com>
Date:   2016-08-17T21:49:41Z

    BCEL-278: Resolving NoSuchElementException in InvokeInstruction.toString(final ConstantPool
cp)

----


> InvokeInstruction.toString(final ConstantPool cp) throws NoSuchElementException
> -------------------------------------------------------------------------------
>
>                 Key: BCEL-278
>                 URL: https://issues.apache.org/jira/browse/BCEL-278
>             Project: Commons BCEL
>          Issue Type: Bug
>          Components: Main
>    Affects Versions: 6.0
>            Reporter: Valery Barysok
>            Priority: Trivial
>
> Compile JasminVisitor.java and execute with self class as parameter.
> {code:java}
> Exception in thread "main" java.util.NoSuchElementException
> 	at java.util.StringTokenizer.nextToken(StringTokenizer.java:349)
> 	at org.apache.bcel.generic.InvokeInstruction.toString(InvokeInstruction.java:58)
> 	at JasminVisitor.visitCode(JasminVisitor.java:268)
> 	at org.apache.bcel.classfile.Code.accept(Code.java:132)
> 	at org.apache.bcel.classfile.DescendingVisitor.visitCode(DescendingVisitor.java:179)
> 	at org.apache.bcel.classfile.Code.accept(Code.java:132)
> 	at org.apache.bcel.classfile.DescendingVisitor.visitMethod(DescendingVisitor.java:162)
> 	at org.apache.bcel.classfile.Method.accept(Method.java:108)
> 	at org.apache.bcel.classfile.DescendingVisitor.visitJavaClass(DescendingVisitor.java:99)
> 	at org.apache.bcel.classfile.JavaClass.accept(JavaClass.java:213)
> 	at org.apache.bcel.classfile.DescendingVisitor.visit(DescendingVisitor.java:85)
> 	at JasminVisitor.disassemble(JasminVisitor.java:77)
> 	at JasminVisitor.main(JasminVisitor.java:333)
> {code}



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

Mime
View raw message