test/tools/javac/6979683/TestCast6979683_BAD39.java.errlog

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

author
jrose
date
Wed, 01 Sep 2010 03:19:16 -0700
changeset 665
d3ead6731a91
child 1238
e28a06a3c5d9
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

jrose@665 1 TestCast6979683_BAD39.java:39:53: compiler.err.prob.found.req: (compiler.misc.inconvertible.types), java.lang.Number, char
jrose@665 2 1 error

mercurial