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 TwrFlow.java:14:11: compiler.err.except.never.thrown.in.try: java.io.IOException
2 TwrFlow.java:24:11: compiler.err.except.never.thrown.in.try: java.io.IOException
3 TwrFlow.java:12:46: compiler.err.unreported.exception.need.to.catch.or.throw: CustomCloseException
4 TwrFlow.java:22:26: compiler.err.unreported.exception.need.to.catch.or.throw: CustomCloseException
5 4 errors