test/tools/javac/OverrideChecks/6199153/T6199153.out

Tue, 11 Aug 2009 01:14:31 +0100

author
mcimadamore
date
Tue, 11 Aug 2009 01:14:31 +0100
changeset 362
c4c424badb83
child 384
ed31953ca025
permissions
-rw-r--r--

6199153: Generic throws and overriding
Summary: javac incorrectly rejects an uchecked overriding
Reviewed-by: jjg

mcimadamore@362 1 T6199153.java:41:21: compiler.warn.override.unchecked.thrown: (compiler.misc.cant.override: m(), T6199153.B, <T>m(), T6199153.A), java.io.IOException
mcimadamore@362 2 - compiler.err.warnings.and.werror
mcimadamore@362 3 1 error
mcimadamore@362 4 1 warning

mercurial