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

InstConstraintVisitor does not handle class constants

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 6.0
    • Main
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: