Load module-info.class from multi-release jars' META-INF/versions/
This commit is contained in:
@@ -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()
|
||||
}
|
||||
Reference in New Issue
Block a user