Thu, 19 Aug 2010 11:52:58 +0100
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
duke@1 | 1 | /* |
duke@1 | 2 | * @test /nodynamiccopyright/ |
duke@1 | 3 | * @bug 6177732 |
duke@1 | 4 | * @summary add hidden option to have compiler generate diagnostics in more machine-readable form |
jjg@611 | 5 | * @compile/fail/ref=Error.out -XDrawDiagnostics Error.java |
duke@1 | 6 | */ |
duke@1 | 7 | class Error |
duke@1 | 8 | { |
duke@1 | 9 | static void error |