Improve automatic module handling in module graph construction
Add all automatic modules to roots if at least one automatic module is added, as per http://cr.openjdk.java.net/~mr/jigsaw/spec/api/java/lang/module/package-summary.html
This commit is contained in:
+3
@@ -0,0 +1,3 @@
|
||||
package foo;
|
||||
|
||||
public class Foo {}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
package bar;
|
||||
|
||||
public class Bar {}
|
||||
@@ -0,0 +1 @@
|
||||
OK
|
||||
@@ -0,0 +1,6 @@
|
||||
import foo.Foo
|
||||
import bar.Bar
|
||||
|
||||
fun usage(): String {
|
||||
return "${Foo()}${Bar()}"
|
||||
}
|
||||
Reference in New Issue
Block a user