commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (BCEL-251) Pass3aVerifier visitANEWARRAY() does not allow 255 array dimensions
Date Fri, 21 Aug 2015 11:33:46 GMT

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

Sebb commented on BCEL-251:
---------------------------

TODO - 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)

Mime
View raw message