test/tools/javac/6558548/T6558548_6.out

Wed, 16 Mar 2011 11:12:26 +0000

author
mcimadamore
date
Wed, 16 Mar 2011 11:12:26 +0000
changeset 935
5b29f2a85085
child 990
9a847a77205d
permissions
-rw-r--r--

6558548: The compiler needs to be aligned with clarified specification of throws
Summary: Javac should issue unconditional warnings when 'dead' catch clauses are detected
Reviewed-by: jjg

     1 - compiler.warn.source.no.bootclasspath: 1.6
     2 T6558548.java:159:9: compiler.err.except.never.thrown.in.try: java.lang.InterruptedException
     3 T6558548.java:168:9: compiler.err.except.never.thrown.in.try: java.lang.InterruptedException
     4 T6558548.java:239:9: compiler.err.except.never.thrown.in.try: java.lang.InterruptedException
     5 T6558548.java:249:9: compiler.err.except.never.thrown.in.try: java.lang.InterruptedException
     6 T6558548.java:291:9: compiler.err.except.never.thrown.in.try: java.lang.InterruptedException
     7 T6558548.java:298:9: compiler.err.except.never.thrown.in.try: java.lang.InterruptedException
     8 6 errors
     9 1 warning

mercurial