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

Pass 3b verifier is too strict.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 6.0
    • None
    • None

    Description

      Quoting from src/main/java/org/apache/commons/bcel6/verifier/structurals/Subroutines.java:

      • JustIce also mandates subroutines not to be protected by exception
      • handling code (for the sake of control flow predictability).

      This is too strict. Several methods in the jdk contain this construct and hence fail to verify. (javax/management/remote/rmi/_RMIServer_Stub.class is one such example.)

      The lines at 479-496 need to be removed or modified is some way to allow a BCEL based tool to process all of the JDK.

      Attachments

        Activity

          People

            Unassigned Unassigned
            markro Mark Roberts
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: