Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8177805

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: tools
    • Labels:

      Description

      `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.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: