test/tools/javac/T6227617.out

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

author
mcimadamore
date
Mon, 06 Dec 2010 11:50:37 +0000
changeset 774
56f59723fddf
parent 0
959103a6100f
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

aoqi@0 1 T6227617.java:14:18: compiler.warn.redundant.cast: int
aoqi@0 2 T6227617.java:19:20: compiler.warn.redundant.cast: java.lang.String
aoqi@0 3 T6227617.java:23:22: compiler.warn.redundant.cast: java.lang.Integer
aoqi@0 4 T6227617.java:33:27: compiler.warn.redundant.cast: int
aoqi@0 5 T6227617.java:36:29: compiler.warn.redundant.cast: java.lang.String
aoqi@0 6 5 warnings

mercurial