Load module-info.class from multi-release jars' META-INF/versions/

This commit is contained in:
Alexander Udalov
2017-06-30 15:35:56 +03:00
parent 5b9ee88b52
commit 612e64d8e3
8 changed files with 60 additions and 2 deletions
@@ -0,0 +1,3 @@
package foo;
public class Foo {}
@@ -0,0 +1,3 @@
module library {
exports foo;
}
@@ -0,0 +1 @@
OK
@@ -0,0 +1,3 @@
module main {
requires library;
}
@@ -0,0 +1,6 @@
import foo.Foo
fun usage(): String {
val f: Foo = Foo()
return f.toString()
}