Mon, 06 Dec 2010 11:50:37 +0000
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 | |
aoqi@0 | 2 | /** |
aoqi@0 | 3 | * This class is used to test the results of the langtools build. |
aoqi@0 | 4 | */ |
aoqi@0 | 5 | public class HelloWorld { |
aoqi@0 | 6 | |
aoqi@0 | 7 | public HelloWorld(); |
aoqi@0 | 8 | |
aoqi@0 | 9 | /** |
aoqi@0 | 10 | * The old standby! |
aoqi@0 | 11 | * @param args The parameters are ignored. |
aoqi@0 | 12 | */ |
aoqi@0 | 13 | public static void main(java.lang.String... args); |
aoqi@0 | 14 | |
aoqi@0 | 15 | /** |
aoqi@0 | 16 | * This declaration is for the benefit of javah tests. |
aoqi@0 | 17 | */ |
aoqi@0 | 18 | public native void test(); |
aoqi@0 | 19 | } |