98b53c06cf
8308613: javax.lang.model updates for JEP 445 (preview) 8308913: Update core reflection for JEP 445 (preview) Co-authored-by: Maurizio Cimadamore <mcimadamore@openjdk.org> Co-authored-by: Joe Darcy <darcy@openjdk.org> Co-authored-by: Jan Lahoda <jlahoda@openjdk.org> Co-authored-by: Jim Laskey <jlaskey@openjdk.org> Co-authored-by: Adam Sotona <asotona@openjdk.org> Reviewed-by: mcimadamore, vromero, darcy
9 lines
283 B
Java
9 lines
283 B
Java
/**
|
|
* @test /nodynamiccopyright/
|
|
* @compile/fail/ref=UnnamedClassRecovery.out -XDrawDiagnostics --enable-preview --source ${jdk.version} UnnamedClassRecovery.java
|
|
*/
|
|
public void main() {
|
|
//the following is intentionally missing a semicolon:
|
|
System.err.println("Hello!")
|
|
}
|