Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8248348

Regression caused by the update to BCEL 6.0

    Details

    • Subcomponent:
    • Resolved In Build:
      b05

      Backports

        Description

        The update to BCEL 6.0 (JDK-8163121) appears to have caused a regression. The following stacktrace demonstrated what it looked like when it failed in compiling a large stylesheet:

        com.sun.org.apache.bcel.internal.generic.ClassGenException: Not targeting 10980: nop[0](1), but null
        at com.sun.org.apache.bcel.internal.generic.BranchInstruction.updateTarget(BranchInstruction.java:220)
        at com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator.outline(MethodGenerator.java:1748)
        at com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator.outlineChunks(MethodGenerator.java:1145)
        at com.sun.org.apache.xalan.internal.xsltc.compiler.util.MethodGenerator.getGeneratedMethods(MethodGenerator.java:1909)

        Note there was a BCEL bug report related to the introduction of the hashCode() method:
        https://issues.apache.org/jira/browse/BCEL-195
        The bug fix however did not resolve the above issue.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  joehw Joe Wang
                  Reporter:
                  joehw Joe Wang
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: