Uploaded image for project: 'Commons Sandbox'
  1. Commons Sandbox
  2. SANDBOX-260

ASM bytecode transformation let verification from JVM fail for some method (-signatures)

    XMLWordPrintableJSON

    Details

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

      Sun JDK 1.5 / 1.6,
      64bit / 32bit emul.
      asm 2.2.3

      Description

      I think there is a bug in the asm bytecode transformer (considered as "experimental"?).

      The transformer transforms some methods into bytecode which seems to be not valid. The ASM CheckClassAdapter and the JVM-Verifier fails to check the transformed class with a VerifyError.

      I will provide a TestCase to show this problem.

        Attachments

        1. ASMRewriteBugsTestCase.patch
          7 kB
          Claas Altschaffel

          Activity

            People

            • Assignee:
              tcurdt Torsten Curdt
              Reporter:
              caltschaffel Claas Altschaffel
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: