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

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

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

            Dates

              Created:
              Updated:
              Resolved: