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

Test tools/javac/generics/wildcards/T8034147.java fails with compiler crash

XMLWordPrintable

      Testsuite name: Regression
      Test name(s): tools/javac/generics/wildcards/T8034147.java
      JDK tested:jdk1.8.0_20b20 , jdk1.8.0b312
      OS tested: Solaris x86_64,Windows x86_64 , Linux x86_64
      Is it a regression? No
      Regression introduced in release/build: N/A
         
      Is it platform specific? No
      The is failure reproduced: always

      java.lang.NullPointerException
      at com.sun.tools.javac.code.Types.closure(Types.java:3297)
      at com.sun.tools.javac.code.Types.glb(Types.java:3639)
      at com.sun.tools.javac.code.Types.capture(Types.java:3940)
      at com.sun.tools.javac.code.Types.isSubtype(Types.java:836)
      at com.sun.tools.javac.code.Types.isSubtype(Types.java:800)
      at com.sun.tools.javac.code.Types$2.visitClassType(Types.java:252)
      at com.sun.tools.javac.code.Types$2.visitClassType(Types.java:231)
      at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:763)
      at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4421)
      at com.sun.tools.javac.code.Types.asSub(Types.java:228)
      at com.sun.tools.javac.code.Types$8.visitClassType(Types.java:1546)
      at com.sun.tools.javac.code.Types$8.visitClassType(Types.java:1475)
      at com.sun.tools.javac.code.Type$ClassType.accept(Type.java:763)
      at com.sun.tools.javac.code.Types$DefaultTypeVisitor.visit(Types.java:4421)
      at com.sun.tools.javac.code.Types.isCastable(Types.java:1466)
      at com.sun.tools.javac.code.Types.notSoftSubtype(Types.java:1775)
      at com.sun.tools.javac.comp.Check.checkExtends(Check.java:626)
      at com.sun.tools.javac.comp.Check.firstIncompatibleTypeArg(Check.java:979)
      at com.sun.tools.javac.comp.Check.access$500(Check.java:66)
      at com.sun.tools.javac.comp.Check$Validator.visitTypeApply(Check.java:1261)
      at com.sun.tools.javac.tree.JCTree$JCTypeApply.accept(JCTree.java:2135)
      at com.sun.tools.javac.comp.Check$Validator.validateTree(Check.java:1357)
      at com.sun.tools.javac.comp.Check$Validator.validateTrees(Check.java:1370)
      at com.sun.tools.javac.comp.Check$Validator.visitTypeParameter(Check.java:1296)
      at com.sun.tools.javac.tree.JCTree$JCTypeParameter.accept(JCTree.java:2224)
      at com.sun.tools.javac.comp.Check$Validator.validateTree(Check.java:1357)
      at com.sun.tools.javac.comp.Check.validate(Check.java:1228)
      at com.sun.tools.javac.comp.Check.validate(Check.java:1225)
      at com.sun.tools.javac.comp.Check.validate(Check.java:1235)
      at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:4259)
      at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4232)
      at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4161)
      at com.sun.tools.javac.comp.Attr.visitClassDef(Attr.java:885)
      at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:693)
      at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:600)
      at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:669)
      at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:4322)
      at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4232)
      at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4161)
      at com.sun.tools.javac.comp.Attr.attrib(Attr.java:4136)
      at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1248)
      at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:901)
      at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:860)
      at com.sun.tools.javac.main.Main.compile(Main.java:523)
      at com.sun.tools.javac.main.Main.compile(Main.java:381)
      at com.sun.tools.javac.main.Main.compile(Main.java:370)
      at com.sun.tools.javac.main.Main.compile(Main.java:361)
      at com.sun.tools.javac.Main.compile(Main.java:56)
      at com.sun.tools.javac.Main.main(Main.java:42)
      result: Error. compiler crashed (exit code 4)

            Unassigned Unassigned
            sraghavan Srinivasan Raghavan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: