test/tools/javac/multicatch/Neg06.out

Mon, 06 Dec 2010 11:50:37 +0000

author
mcimadamore
date
Mon, 06 Dec 2010 11:50:37 +0000
changeset 774
56f59723fddf
child 1238
e28a06a3c5d9
permissions
-rw-r--r--

7002070: If catch clause has an incompatible type, error pointer points to first exception type in list
Summary: Attribution should check each component of a disjunctive type separately, rather than checking the corresponding lub()
Reviewed-by: jjg

     1 Neg06.java:14:16: compiler.err.prob.found.req: (compiler.misc.incompatible.types), java.lang.String, java.lang.Throwable
     2 Neg06.java:14:25: compiler.err.prob.found.req: (compiler.misc.incompatible.types), java.lang.Integer, java.lang.Throwable
     3 2 errors

mercurial