test/tools/javac/T6326754.out

Thu, 19 Aug 2010 11:52:58 +0100

author
mcimadamore
date
Thu, 19 Aug 2010 11:52:58 +0100
changeset 638
d6fe0ea070aa
parent 464
d02e99d31cc0
child 689
77cc34d5e548
permissions
-rw-r--r--

6885255: Improve usability of raw warnings
Summary: raw warnings should be disabled in (i) instanceof expressions and (ii) when java.lang.Class is not parameterized
Reviewed-by: jjg

     1 T6326754.java:44:12: compiler.err.name.clash.same.erasure: TestConstructor(T), TestConstructor(K)
     2 T6326754.java:52:17: compiler.err.name.clash.same.erasure: setT(K), setT(T)
     3 T6326754.java:64:18: compiler.err.prob.found.req: (compiler.misc.incompatible.types), T, T
     4 T6326754.java:70:11: compiler.err.cant.apply.symbol: kindname.method, setT, java.lang.Object, compiler.misc.no.args, kindname.class, TestC<T>, null
     5 - compiler.note.unchecked.filename: T6326754.java
     6 - compiler.note.unchecked.recompile
     7 4 errors

mercurial