2016-08-16 16:43:00 +02:00
|
|
|
/* @test /nodynamiccopyright/
|
|
|
|
* @bug 8037385
|
|
|
|
* @summary Must not allow static interface method invocation in legacy code
|
2018-07-06 10:28:56 -07:00
|
|
|
* @compile -Xlint:-options StaticInvokeQualified.java
|
2016-08-16 16:43:00 +02:00
|
|
|
*/
|
|
|
|
|
|
|
|
class StaticInvokeQualified {
|
|
|
|
void test() {
|
|
|
|
java.util.stream.Stream.empty();
|
|
|
|
}
|
|
|
|
}
|