mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-19 18:44:38 +02:00
10 lines
313 B
Java
10 lines
313 B
Java
/**
|
|
* @test /nodynamiccopyright/
|
|
* @bug 8072480
|
|
* @summary Verify that javac rejects Java 8 program with --release 7
|
|
* @compile ReleaseOption.java
|
|
* @compile/fail/ref=ReleaseOption-release7.out -XDrawDiagnostics --release 7 ReleaseOption.java
|
|
*/
|
|
|
|
interface ReleaseOption extends java.util.stream.Stream {
|
|
}
|