Uploaded image for project: 'Commons BCEL'
  1. Commons BCEL
  2. BCEL-251

Pass3aVerifier visitANEWARRAY() does not allow 255 array dimensions

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      The visitANEWARRAY() method performs the following check:

      if (dimensions >= 255){
          constraintViolated(o, "Not allowed to create an array with more than 255 dimensions.");
      }
      

      That is clearly wrong; it should allow 255 as per the constraint message

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sebb@apache.org Sebb
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: