Thu, 07 Jun 2012 20:30:57 -0700
7170079: Adjustments to build-infra makefiles
Reviewed-by: ohair, ohrstrom, ihse, jonas
Contributed-by: jonas <jonas.oreland@oracle.com>, erikj <erik.joelsson@oracle.com>, ihse <magnus.ihse.bursie@oracle.com>, tgranat <torbjorn.granat@oracle.com>, ykantser <yekaterina.kantserova@oracle.com>
darcy@609 | 1 | /* |
darcy@609 | 2 | * @test /nodynamiccopyright/ |
darcy@609 | 3 | * @bug 6911256 6964740 |
darcy@609 | 4 | * @author Joseph D. Darcy |
darcy@609 | 5 | * @summary Test error messages for an unadorned try |
jjg@757 | 6 | * @compile/fail/ref=PlainTry6.out -XDrawDiagnostics -source 6 -Xlint:-options PlainTry.java |
jjg@757 | 7 | * @compile/fail/ref=PlainTry.out -XDrawDiagnostics PlainTry.java |
darcy@609 | 8 | */ |
darcy@609 | 9 | public class PlainTry { |
darcy@609 | 10 | public static void main(String... args) { |
darcy@609 | 11 | try { |
darcy@609 | 12 | ; |
darcy@609 | 13 | } |
darcy@609 | 14 | } |
darcy@609 | 15 | } |