test/tools/javac/OverridePosition.out

Wed, 01 Sep 2010 03:19:16 -0700

author
jrose
date
Wed, 01 Sep 2010 03:19:16 -0700
changeset 665
d3ead6731a91
parent 288
d402db1005ad
child 2525
2eb010b6cb22
permissions
-rw-r--r--

6979683: inconsistent interaction of reference cast with box/unbox conversions leaves out a useful case
Summary: Allow casts which narrow and then unbox.
Reviewed-by: mcimadamore

     1 OverridePosition.java:17:10: compiler.err.override.weaker.access: (compiler.misc.cant.implement: method(), T4524388.Testa, method(), T4524388.Interface), public
     2 OverridePosition.java:24:1: compiler.err.override.weaker.access: (compiler.misc.cant.implement: method(), T4524388.A, method(), T4524388.Interface), public
     3 2 errors

mercurial