Tapestry 5
  1. Tapestry 5
  2. TAP5-1724

In rare cases, Tapestry may fail to transform a class due to a "JSR/RET are not supported with computeFrames option" exception

    Details

      Description



      This is a common issue with ASM; it doesn't handle the JSR and RET opcodes when using the computeFrames option. Only the JDK 1.5 and earlier compiler uses JSR and RET, so compiling for JDK 1.6 should be a workaround.

        Activity

        Hide
        Howard M. Lewis Ship added a comment -

        I've committed a "fix" but it's very hard to verify.

        Show
        Howard M. Lewis Ship added a comment - I've committed a "fix" but it's very hard to verify.
        Hide
        Hudson added a comment -

        Integrated in tapestry-trunk-freestyle #609 (See https://builds.apache.org/job/tapestry-trunk-freestyle/609/)
        TAP5-1724: In rare cases, Tapestry may fail to transform a class due to a "JSR/RET are not supported with computeFrames option" exception

        hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188964
        Files :

        • /tapestry/tapestry5/trunk/plastic/src/main/java/org/apache/tapestry5/internal/plastic/PlasticInternalUtils.java
        Show
        Hudson added a comment - Integrated in tapestry-trunk-freestyle #609 (See https://builds.apache.org/job/tapestry-trunk-freestyle/609/ ) TAP5-1724 : In rare cases, Tapestry may fail to transform a class due to a "JSR/RET are not supported with computeFrames option" exception hlship : http://svn.apache.org/viewcvs.cgi/?root=Apache-SVN&view=rev&rev=1188964 Files : /tapestry/tapestry5/trunk/plastic/src/main/java/org/apache/tapestry5/internal/plastic/PlasticInternalUtils.java
        Hide
        Howard M. Lewis Ship added a comment -

        Was able to reproduce this problem in the client code, then fix it with the upgrade to 5.3-beta-29 which includes this fix.

        Show
        Howard M. Lewis Ship added a comment - Was able to reproduce this problem in the client code, then fix it with the upgrade to 5.3-beta-29 which includes this fix.

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            Howard M. Lewis Ship
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development