382fe51b6d
Reviewed-by: vromero
15 lines
337 B
Java
15 lines
337 B
Java
/*
|
|
* @test /nodynamiccopyright/
|
|
* @bug 6911256 6964740
|
|
* @author Joseph D. Darcy
|
|
* @summary Test error messages for an unadorned try
|
|
* @compile/fail/ref=PlainTry.out -XDrawDiagnostics PlainTry.java
|
|
*/
|
|
public class PlainTry {
|
|
public static void meth() {
|
|
try {
|
|
;
|
|
}
|
|
}
|
|
}
|