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

InstConstraintVisitor does not handle class constants

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: unspecified
    • Fix Version/s: 6.0
    • Component/s: Main
    • Labels:
      None

      Description

      InstConstraintVisitor gives an error if ldc/ldc_w is used to load a class constant (svn r1151433). This is allowed since the JVM 1.5 specifications (and I've seen this has been fixed in several other places in BCEL already).

      The attached patch fixes this problem.

        Attachments

        1. ldc-constraintverifier.patch
          1 kB
          Jonas Maebe

          Activity

            People

            • Assignee:
              issues@commons.apache.org Apache Commons Developers
              Reporter:
              jonas.bugzilla@gmail.com Jonas Maebe
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: