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

Pass3aVerifier visitANEWARRAY() does not allow 255 array dimensions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None
    • 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

              Unassigned Unassigned
              sebb Sebb
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: