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

Regression caused by the update to BCEL 6.0

XMLWordPrintable

    • b05

        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.

              joehw Joe Wang
              joehw Joe Wang
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: