test/tools/javac/typeAnnotations/failures/LintCast.out

Thu, 15 Jul 2010 16:31:02 +0100

author
mcimadamore
date
Thu, 15 Jul 2010 16:31:02 +0100
changeset 607
b49b0d72c071
parent 384
ed31953ca025
permissions
-rw-r--r--

6967002: JDK7 b99 javac compilation error (java.lang.AssertionError)
Summary: bug in JavacParser related to parsing of type annotations in varargs position
Reviewed-by: jjg
Contributed-by: mahmood@notnoop.com

     1 LintCast.java:13:21: compiler.warn.redundant.cast: java.lang.String
     2 LintCast.java:19:27: compiler.warn.redundant.cast: java.util.List<java.lang.String>
     3 LintCast.java:25:20: compiler.warn.redundant.cast: int[]
     4 LintCast.java:37:24: compiler.warn.redundant.cast: java.lang.String
     5 LintCast.java:38:26: compiler.warn.redundant.cast: java.lang.String
     6 5 warnings

mercurial