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

Sebb resolved BCEL-251.
-----------------------
    Resolution: Fixed

Raise separate issue for unit tests

> Pass3aVerifier visitANEWARRAY() does not allow 255 array dimensions
> -------------------------------------------------------------------
>
>                 Key: BCEL-251
>                 URL: https://issues.apache.org/jira/browse/BCEL-251
>             Project: Commons BCEL
>          Issue Type: Bug
>            Reporter: Sebb
>
> The visitANEWARRAY() method performs the following check:
> {code}
> if (dimensions >= 255){
>     constraintViolated(o, "Not allowed to create an array with more than 255 
> dimensions.");
> }
> {code}
> That is clearly wrong; it should allow 255 as per the constraint message



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

Reply via email to