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

JDK7 b99 javac compilation error (java.lang.AssertionError)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 7
    • Fix Version/s: 7
    • Component/s: tools
    • Subcomponent:
    • Introduced In Version:
      7
    • Resolved In Build:
      b105
    • CPU:
      x86
    • OS:
      linux
    • Verification:
      Verified

      Description

      Using b99 of JDK 7, received following compilation error:

      [javac] Compiling 1 source file to /home/mullan/svn/xml-security/build/classes
          [javac] An exception has occurred in the compiler (1.7.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.
          [javac] java.lang.AssertionError
          [javac] at com.sun.tools.javac.parser.JavacParser.term3(JavacParser.java:1154)
          [javac] at com.sun.tools.javac.parser.JavacParser.term2(JavacParser.java:742)
          [javac] at com.sun.tools.javac.parser.JavacParser.term1(JavacParser.java:713)
          [javac] at com.sun.tools.javac.parser.JavacParser.term(JavacParser.java:669)
          [javac] at com.sun.tools.javac.parser.JavacParser.term(JavacParser.java:651)
          [javac] at com.sun.tools.javac.parser.JavacParser.parseExpression(JavacParser.java:615)
          [javac] at com.sun.tools.javac.parser.JavacParser.arguments(JavacParser.java:1302)
          [javac] at com.sun.tools.javac.parser.JavacParser.arguments(JavacParser.java:1317)
          [javac] at com.sun.tools.javac.parser.JavacParser.term3(JavacParser.java:1109)
          [javac] at com.sun.tools.javac.parser.JavacParser.term2(JavacParser.java:742)
          [javac] at com.sun.tools.javac.parser.JavacParser.term1(JavacParser.java:713)
          [javac] at com.sun.tools.javac.parser.JavacParser.term(JavacParser.java:669)
          [javac] at com.sun.tools.javac.parser.JavacParser.term(JavacParser.java:651)
          [javac] at com.sun.tools.javac.parser.JavacParser.parseExpression(JavacParser.java:615)
          [javac] at com.sun.tools.javac.parser.JavacParser.parseStatement(JavacParser.java:1946)
          [javac] at com.sun.tools.javac.parser.JavacParser.blockStatements(JavacParser.java:1754)
          [javac] at com.sun.tools.javac.parser.JavacParser.block(JavacParser.java:1717)
          [javac] at com.sun.tools.javac.parser.JavacParser.block(JavacParser.java:1731)
          [javac] at com.sun.tools.javac.parser.JavacParser.methodDeclaratorRest(JavacParser.java:2842)
          [javac] at com.sun.tools.javac.parser.JavacParser.classOrInterfaceBodyDeclaration(JavacParser.java:2776)
          [javac] at com.sun.tools.javac.parser.JavacParser.classOrInterfaceBody(JavacParser.java:2700)
          [javac] at com.sun.tools.javac.parser.JavacParser.classDeclaration(JavacParser.java:2548)
          [javac] at com.sun.tools.javac.parser.JavacParser.classOrInterfaceOrEnumDeclaration(JavacParser.java:2489)
          [javac] at com.sun.tools.javac.parser.JavacParser.typeDeclaration(JavacParser.java:2478)
          [javac] at com.sun.tools.javac.parser.JavacParser.parseCompilationUnit(JavacParser.java:2421)
          [javac] at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:584)
          [javac] at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:622)
          [javac] at com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler.java:878)
          [javac] at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:796)
          [javac] at com.sun.tools.javac.main.Main.compile(Main.java:409)
          [javac] at com.sun.tools.javac.main.Main.compile(Main.java:327)
          [javac] at com.sun.tools.javac.main.Main.compile(Main.java:318)
          [javac] at com.sun.tools.javac.Main.compile(Main.java:82)
          [javac] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          [javac] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
          [javac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          [javac] at java.lang.reflect.Method.invoke(Method.java:613)
          [javac] at org.apache.tools.ant.taskdefs.compilers.Javac13.execute(Javac13.java:56)
          [javac] at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:1065)
          [javac] at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:882)
          [javac] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
          [javac] at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
          [javac] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
          [javac] at java.lang.reflect.Method.invoke(Method.java:613)
          [javac] at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
          [javac] at org.apache.tools.ant.Task.perform(Task.java:348)
          [javac] at org.apache.tools.ant.Target.execute(Target.java:357)
          [javac] at org.apache.tools.ant.Target.performTasks(Target.java:385)
          [javac] at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
          [javac] at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
          [javac] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
          [javac] at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
          [javac] at org.apache.tools.ant.Main.runBuild(Main.java:758)
          [javac] at org.apache.tools.ant.Main.startAnt(Main.java:217)
          [javac] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
          [javac] at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)

      BUILD FAILED
      /home/mullan/svn/xml-security/build.xml:277: Compile failed; see the compiler error output for details.

        Attachments

          Activity

            People

            Assignee:
            mcimadamore Maurizio Cimadamore
            Reporter:
            mullan Sean Mullan
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: