test/tools/javac/T6214885b.out

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

author
jrose
date
Wed, 01 Sep 2010 03:19:16 -0700
changeset 665
d3ead6731a91
parent 221
6ada6122dd4f
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 T6214885.java:11:9 cannot find symbol
     2         x = 1;
     3         ^
     4   symbol:   variable x
     5   location: class T6214885
     6 1 error

mercurial