Wed, 16 Mar 2011 11:12:26 +0000
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
mcimadamore@935 | 1 | - compiler.warn.source.no.bootclasspath: 1.6 |
mcimadamore@935 | 2 | T6558548.java:159:9: compiler.err.except.never.thrown.in.try: java.lang.InterruptedException |
mcimadamore@935 | 3 | T6558548.java:168:9: compiler.err.except.never.thrown.in.try: java.lang.InterruptedException |
mcimadamore@935 | 4 | T6558548.java:239:9: compiler.err.except.never.thrown.in.try: java.lang.InterruptedException |
mcimadamore@935 | 5 | T6558548.java:249:9: compiler.err.except.never.thrown.in.try: java.lang.InterruptedException |
mcimadamore@935 | 6 | T6558548.java:291:9: compiler.err.except.never.thrown.in.try: java.lang.InterruptedException |
mcimadamore@935 | 7 | T6558548.java:298:9: compiler.err.except.never.thrown.in.try: java.lang.InterruptedException |
mcimadamore@935 | 8 | 6 errors |
mcimadamore@935 | 9 | 1 warning |