2015-07-01 09:51:48 +02:00
|
|
|
/**
|
|
|
|
* @test /nodynamiccopyright/
|
|
|
|
* @bug 8072480
|
2016-08-30 20:49:41 -07:00
|
|
|
* @summary Verify that javac rejects Java 8 program with --release 7
|
2015-07-01 09:51:48 +02:00
|
|
|
* @compile ReleaseOption.java
|
2016-08-30 20:49:41 -07:00
|
|
|
* @compile/fail/ref=ReleaseOption-release7.out -XDrawDiagnostics --release 7 ReleaseOption.java
|
2015-07-01 09:51:48 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
interface ReleaseOption extends java.util.stream.Stream {
|
|
|
|
}
|