04ad98ed32
Reviewed-by: jlahoda, mcimadamore, vromero, rriggs, alanb, mchung
9 lines
285 B
Java
9 lines
285 B
Java
/**
|
|
* @test /nodynamiccopyright/
|
|
* @compile/fail/ref=ImplicitClassRecovery.out -XDrawDiagnostics --enable-preview --source ${jdk.version} ImplicitClassRecovery.java
|
|
*/
|
|
public void main() {
|
|
//the following is intentionally missing a semicolon:
|
|
System.err.println("Hello!")
|
|
}
|