multiple jdks/not exported dependencies: check that declared type of the qualifier doesn't contain unknown types

This commit is contained in:
Anna Kozlova
2015-02-09 20:33:09 +01:00
parent 241b81e354
commit 2e438a4f7c
5 changed files with 36 additions and 3 deletions
@@ -0,0 +1,6 @@
package p;
abstract class B {
void f(A a) {
<error descr="Cannot access java.util.stream.Stream">a</error>.foo();
}
}
@@ -0,0 +1,7 @@
package p;
import java.util.stream.Stream;
import java.util.List;
public abstract class A implements List<Stream<String>> {
public void foo() {}
}