You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Emmanuel Bourg (JIRA)" <ji...@apache.org> on 2014/04/24 14:53:15 UTC
[jira] [Updated] (BCEL-85) ArrayOutOfBoundsException
[ https://issues.apache.org/jira/browse/BCEL-85?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Bourg updated BCEL-85:
-------------------------------
Priority: Major
Environment: (was: Operating System: All
Platform: All)
Affects Version/s: (was: unspecified)
Fix Version/s: 6.0
Priority: (was: P2)
Severity: (was: normal)
> ArrayOutOfBoundsException
> -------------------------
>
> Key: BCEL-85
> URL: https://issues.apache.org/jira/browse/BCEL-85
> Project: Commons BCEL
> Issue Type: Bug
> Components: Main
> Reporter: Bill Doran
> Assignee: Apache Commons Developers
> Fix For: 6.0
>
>
> Using InstructionFinder(String pattern, InstructionHandler handler), if pattern
> is at the end of instruction list exception occurrs. The bug is in the following
> method:
> public final Iterator search( String pattern, InstructionHandle from,
> CodeConstraint constraint )
> int lenExpr = (endExpr - startExpr) + 1;
> should be
> int lenExpr = (endExpr - startExpr);
--
This message was sent by Atlassian JIRA
(v6.2#6252)