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