forked from eclipse-jdt/eclipse.jdt.core
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUG] [JSR-199] ECJ cannot resolve JPMS modules if using a user-provided
file manager + change to 1 ClasspathJsr199 per module + test with two module dependencies (one auto, one regular) Fixes eclipse-jdt#958
- Loading branch information
1 parent
ced60ca
commit c16af25
Showing
9 changed files
with
80 additions
and
39 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions
4
org.eclipse.jdt.compiler.tool.tests/resources/module_locations/GH958_2/module-info.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
module GH958_2 { | ||
requires GH958_mod; | ||
requires org.example.adder; | ||
} |
13 changes: 13 additions & 0 deletions
13
...eclipse.jdt.compiler.tool.tests/resources/module_locations/GH958_2/org/example2/Main.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package org.example2; | ||
|
||
import org.example.regular.Foo; | ||
import org.example.adder.Adder; | ||
|
||
public class Main { | ||
Foo foo; | ||
public static void main(String[] args) { | ||
int a = 123; | ||
int b = 456; | ||
System.out.println(new Adder().add(a, b)); | ||
} | ||
} |
File renamed without changes.
Binary file added
BIN
+2.35 KB
org.eclipse.jdt.compiler.tool.tests/resources/module_locations/GH958_mod.jar
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters