test/tools/javac/StringsInSwitch/BadlyTypedLabel1.out

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

author
jrose
date
Wed, 01 Sep 2010 03:19:16 -0700
changeset 665
d3ead6731a91
parent 430
8fb9b4be3cb1
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

     1 BadlyTypedLabel1.java:13:14: compiler.err.prob.found.req: (compiler.misc.incompatible.types), int, java.lang.String
     2 1 error

mercurial