be8a607fef
Reviewed-by: darcy
16 lines
444 B
Java
16 lines
444 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 6911256 6964740
|
|
* @author Joseph D. Darcy
|
|
* @summary Test error messages for an unadorned try
|
|
* @compile/fail/ref=PlainTry6.out -XDrawDiagnostics -source 6 -Xlint:-options PlainTry.java
|
|
* @compile/fail/ref=PlainTry.out -XDrawDiagnostics PlainTry.java
|
|
*/
|
|
public class PlainTry {
|
|
public static void main(String... args) {
|
|
try {
|
|
;
|
|
}
|
|
}
|
|
}
|