javac --add-modules ALL-SYSTEM should resolve incubator modules

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • 9
    • Affects Version/s: 9
    • Component/s: tools

      `javac --add-modules ALL-SYSTEM` doesn't currently resolve incubator modules and needs to be re-examined. The equivalent at runtime (`java --add-modules ALL-SYSTEM`) has been changed in jake to not ignore incubator modules and so is now consistent with ModuleFinder.ofSystem() which will find all observable modules.

      This issue might require looking at ALL-MODULE-PATH too, this should resolve all modules on the module path and should not cause incubator modules in the system image to be resolved.

            Assignee:
            Jan Lahoda
            Reporter:
            Alan Bateman
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: