Minor, improve test on Java 9 modules
Test that unnamed module does not read unexported package of a named module
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
import foo.Foo
|
||||
import foo.impl.Impl
|
||||
|
||||
fun usage() {
|
||||
Foo()
|
||||
Foo() // should be OK
|
||||
|
||||
Impl() // should be error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user