16 lines
412 B
Java
16 lines
412 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 PlainTry.java
|
||
|
* @compile/fail/ref=PlainTry.out -XDrawDiagnostics PlainTry.java
|
||
|
*/
|
||
|
public class PlainTry {
|
||
|
public static void main(String... args) {
|
||
|
try {
|
||
|
;
|
||
|
}
|
||
|
}
|
||
|
}
|