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

Compiler crash: Calculation of inner class access broken due to incorrect hasTag conversion

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 8
    • None
    • tools
    • None
    • b66
    • generic
    • generic
    • Verified

      Compiler crashing:
          [javac] java.lang.NullPointerException
          [javac] at com.sun.tools.javac.jvm.Code.emitop0(Code.java:538)
          [javac] at com.sun.tools.javac.jvm.Items$SelfItem.load(Items.java:367)
          [javac] at com.sun.tools.javac.jvm.Gen.genArgs(Gen.java:852)
          [javac] at com.sun.tools.javac.jvm.Gen.visitNewClass(Gen.java:1729)
          [javac] at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1436)
      due to bad code generated by LambdaToMethod, in turn caused by missed detection of inner class constructor, in turn caused by binary sense wrong in conversion from != TAG to hasTag().

            rfield Robert Field (Inactive)
            rfield Robert Field (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: