test/tools/javac/StringsInSwitch/BadlyTypedLabel2.out@d3ead6731a91
test/tools/javac/StringsInSwitch/BadlyTypedLabel2.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 BadlyTypedLabel2.java:15:14: compiler.err.prob.found.req: (compiler.misc.incompatible.types), java.math.RoundingMode, java.lang.String