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