crash: test/tools/javac/EOI.java

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • 6
    • Affects Version/s: 6
    • Component/s: tools
    • None
    • generic
    • generic

      javac -XDdev -d x test/tools/javac/EOI.java
      test/tools/javac/EOI.java:11: class, interface, or enum expected
      foobar
      ^
      An exception has occurred in the compiler (1.6.0-rc). 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: JCExpressionStatement
              at com.sun.tools.javac.tree.TreeMaker.TopLevel(TreeMaker.java:116)
              at com.sun.tools.javac.parser.Parser.compilationUnit(Parser.java:2027)
              at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:441)
              at com.sun.tools.javac.main.JavaCompiler.parse(JavaCompiler.java:480)
              at com.sun.tools.javac.main.JavaCompiler.parseFiles(JavaCompiler.java:697)
              at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:629)
              at com.sun.tools.javac.main.Main.compile(Main.java:761)
              at com.sun.tools.javac.main.Main.compile(Main.java:686)
              at com.sun.tools.javac.main.Main.compile(Main.java:675)
              at com.sun.tools.javac.Main.compile(Main.java:70)
              at com.sun.tools.javac.Main.main(Main.java:55)

            Assignee:
            Peter Ahe
            Reporter:
            Peter Ahe
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: