Wed, 01 Sep 2010 03:19:16 -0700
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 BadBinaryLiterals.java:10:17: compiler.err.unsupported.binary.lit: 1.6
2 BadBinaryLiterals.java:11:24: compiler.err.expected: ';'
3 BadBinaryLiterals.java:13:21: compiler.err.int.number.too.large: 111111111111111111111111111111111
4 BadBinaryLiterals.java:15:21: compiler.err.int.number.too.large: 11111111111111111111111111111111111111111111111111111111111111111
5 BadBinaryLiterals.java:16:27: compiler.err.expected: ';'
6 BadBinaryLiterals.java:17:27: compiler.err.expected: ';'
7 BadBinaryLiterals.java:17:30: compiler.err.expected: token.identifier
8 7 errors