Closed cushon closed 9 years ago
Original comment posted by alexeagle@google.com on 2013-08-13 at 06:37 PM
This issue was updated by revision fa2f28ad7dd2.
Original comment posted by alexeagle@google.com on 2013-08-13 at 08:10 PM
(No comment entered for this change.)
Status: Duplicate Merged Into: #176
Original issue created by alexeagle@google.com on 2013-08-13 at 06:22 PM
Information:An exception has occurred in the compiler (1.7.0-google-v5). Please file a bug with the Java Platform Team Include the following stack trace in your report. Thank you. Information:java.lang.ClassCastException: com.sun.tools.javac.tree.JCTree$JCIdent cannot be cast to com.sun.source.tree.MemberSelectTree Information: at com.google.errorprone.bugpatterns.PreconditionsExpensiveString.matchMethodInvocation(PreconditionsExpensiveString.java:84) Information: at com.google.errorprone.ErrorProneScanner.visitMethodInvocation(ErrorProneScanner.java:184) Information: at com.google.errorprone.ErrorProneScanner.visitMethodInvocation(ErrorProneScanner.java:33) Information: at com.sun.tools.javac.tree.JCTree$JCMethodInvocation.accept(JCTree.java:1333) Information: at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:67) Information: at com.google.errorprone.Scanner.scan(Scanner.java:111) Information: at com.google.errorprone.Scanner.scan(Scanner.java:44) Information: at com.sun.source.util.TreeScanner.visitExpressionStatement(TreeScanner.java:240) Information: at com.sun.tools.javac.tree.JCTree$JCExpressionStatement.accept(JCTree.java:1173) Information: at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:80) Information: at com.sun.source.util.TreeScanner.scan(TreeScanner.java:90) Information: at com.sun.source.util.TreeScanner.visitBlock(TreeScanner.java:159) Information: at com.sun.tools.javac.tree.JCTree$JCBlock.accept(JCTree.java:790) Information: at com.sun.source.util.TreeScanner.visitEnhancedForLoop(TreeScanner.java:185) Information: at com.sun.tools.javac.tree.JCTree$JCEnhancedForLoop.accept(JCTree.java:915) Information: at com.sun.source.util.TreeScanner.visitMethod(TreeScanner.java:142) Information: at com.google.errorprone.ErrorProneScanner.visitMethod(ErrorProneScanner.java:258) Information: at com.google.errorprone.ErrorProneScanner.visitMethod(ErrorProneScanner.java:33) Information: at com.sun.tools.javac.tree.JCTree$JCMethodDecl.accept(JCTree.java:690) Information: at com.sun.source.util.TreeScanner.scanAndReduce(TreeScanner.java:98) Information: at com.sun.source.util.TreeScanner.visitClass(TreeScanner.java:132) Information: at com.google.errorprone.ErrorProneScanner.visitClass(ErrorProneScanner.java:299) Information: at com.google.errorprone.ErrorProneScanner.visitClass(ErrorProneScanner.java:33) Information: at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:618) Information: at com.sun.source.util.TreeScanner.visitCompilationUnit(TreeScanner.java:119) Information: at com.sun.tools.javac.tree.JCTree$JCCompilationUnit.accept(JCTree.java:492) Information: at com.google.errorprone.ErrorProneAnalyzer.reportReadyForAnalysis(ErrorProneAnalyzer.java:72) Information: at com.google.errorprone.ErrorReportingJavaCompiler.postFlow(ErrorReportingJavaCompiler.java:85) Information: at com.google.errorprone.ErrorReportingJavaCompiler.flow(ErrorReportingJavaCompiler.java:65) Information: at com.sun.tools.javac.main.JavaCompiler.flow(JavaCompiler.java:1218) Information: at com.sun.tools.javac.main.JavaCompiler.compile2(JavaCompiler.java:870) Information: at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:829) Information: at com.sun.tools.javac.main.Main.compile(Main.java:439) Information: at com.sun.tools.javac.main.Main.compile(Main.java:353) Information: at com.google.errorprone.ErrorProneCompiler.compile(ErrorProneCompiler.java:151) Information: at com.sun.tools.javac.main.Main.compile(Main.java:342) Information: at com.sun.tools.javac.main.Main.compile(Main.java:333) Information: at com.google.errorprone.ErrorProneCompiler.main(ErrorProneCompiler.java:43) Information:Compilation completed with 101 errors and 29 warnings in 19 sec Information:101 errors Information:29 warnings Error:Compiler internal error. Process terminated with exit code 4
Sorry, I didn't build a minimal example Java source file to repro.