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

TEST java/util/concurrent/BlockingQueue/PollMemoryLeak.java fails in nightly on all platform due to compiler issue

    Details

    • Subcomponent:
    • Resolved In Build:
      b19
    • Verification:
      Not verified

      Description

      TESTFAIL:java/util/concurrent/BlockingQueue/PollMemoryLeak.java

      The test java/util/concurrent/BlockingQueue/PollMemoryLeak.java fails in nightly on all platform.

      An exception has occurred in the compiler (1.9.0-ea). Please file a bug at the Java Developer Connection (http://java.sun.com/webapps/bugreport) after checking the Bug Parade for duplicates. Include your program and the following diagnostic in your report. Thank you.
      java.lang.AssertionError: Unexpected enclosing tree for variable definition: WHILELOOP
      at com.sun.tools.javac.comp.Attr.getVarCreator(Attr.java:1088)
      at com.sun.tools.javac.comp.Attr.visitVarDef(Attr.java:1099)
      at com.sun.tools.javac.tree.JCTree$JCVariableDecl.accept(JCTree.java:886)
      at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:596)
      at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:668)
      at com.sun.tools.javac.comp.Attr.visitForeachLoop(Attr.java:1220)
      at com.sun.tools.javac.tree.JCTree$JCEnhancedForLoop.accept(JCTree.java:1069)
      at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:596)
      at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:668)
      at com.sun.tools.javac.comp.Attr.visitWhileLoop(Attr.java:1192)
      at com.sun.tools.javac.tree.JCTree$JCWhileLoop.accept(JCTree.java:999)
      at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:596)
      at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:668)
      at com.sun.tools.javac.comp.Attr.attribStats(Attr.java:684)
      at com.sun.tools.javac.comp.Attr.visitBlock(Attr.java:1176)
      at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:943)
      at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:596)
      at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:668)
      at com.sun.tools.javac.comp.Attr.visitMethodDef(Attr.java:1027)
      at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:812)
      at com.sun.tools.javac.comp.Attr.attribTree(Attr.java:596)
      at com.sun.tools.javac.comp.Attr.attribStat(Attr.java:668)
      at com.sun.tools.javac.comp.Attr.attribClassBody(Attr.java:4527)
      at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4437)
      at com.sun.tools.javac.comp.Attr.attribClass(Attr.java:4366)
      at com.sun.tools.javac.comp.Attr.attrib(Attr.java:4341)
      at com.sun.tools.javac.main.JavaCompiler.attribute(JavaCompiler.java:1239)
      at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:884)
      at com.sun.tools.javac.main.Main.compile(Main.java:526)
      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:74)
      at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:484)
      at com.sun.javatest.regtest.RegressionCompileCommand.run(RegressionCompileCommand.java:248)
      at com.sun.javatest.regtest.CompileAction.runCompile(CompileAction.java:585)
      at com.sun.javatest.regtest.Agent$Server.doCompile(Agent.java:510)
      at com.sun.javatest.regtest.Agent$Server.run(Agent.java:480)
      at com.sun.javatest.regtest.Agent.main(Agent.java:86)
      result: Error. compiler crashed (exit code 4)


      test result: Error. compiler crashed (exit code 4)

        Attachments

          Activity

            People

            • Assignee:
              emc Eric Mccorkle
              Reporter:
              ewang Eric Wang (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: