test/tools/javac/TryWithResources/TwrFlow.out

Fri, 12 Nov 2010 12:33:52 +0000

author
mcimadamore
date
Fri, 12 Nov 2010 12:33:52 +0000
changeset 742
fdc67f5170e9
parent 609
13354e1abba7
child 840
7f8794f9cc14
permissions
-rw-r--r--

6999067: cast for invokeExact call gets redundant cast to <type> warnings
Summary: Xlint:cast should not report cast used in order to specify target type in polymorphic signature calls
Reviewed-by: jjg

     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

mercurial