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

javac --inherit-runtime-environment fails with "cannot find modules: ALL-DEFAULT"

XMLWordPrintable

    • b147
    • Verified

      $ javac --inherit-runtime-environment T.java
      error: cannot find module: ALL-DEFAULT
      1 error

      javac launcher sets --add-modules ALL-DEFAULT in the runtime environment but javac currently does not support ALL-DEFAULT token.

      We should also check if any other options or tokens supported by the runtime is not currently supported by javac.

            jjg Jonathan Gibbons
            mchung Mandy Chung (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved: