mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 08:31:29 +00:00
Do not add all modules from module path when compiling unnamed module
Note that javac reports a nice error in this case ("package foo is
declared in module lib, which is not in the module graph"), but we only
report "unresolved reference" because the corresponding modules are not
added to classpath roots. We should improve this in the future
#KT-18598 In Progress
This commit is contained in:
3
compiler/testData/javaModules/unnamedDoesNotReadNotAdded/moduleA/foo/Foo.java
vendored
Normal file
3
compiler/testData/javaModules/unnamedDoesNotReadNotAdded/moduleA/foo/Foo.java
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
package foo;
|
||||
|
||||
public class Foo {}
|
||||
Reference in New Issue
Block a user