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

jjs package completion should have a fallback when javac is not available

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b97
    • CPU:
      generic
    • OS:
      generic

      Description

      jjs uses Javac's APIs to implement package/class tab-completion. But, javac may not be available (running in JRE) or jjs may be running under security manager (jjs disables javac uses in that case - because javac API throws SecurityException -- perhaps not meant to be run under security manager at all). So, jjs should provide fallback in such cases - perhaps jjs can directly use "jrt fs" file system to provide package/class name completion for platform classes at least.

        Attachments

          Activity

            People

            • Assignee:
              sundar Sundararajan Athijegannathan
              Reporter:
              sundar Sundararajan Athijegannathan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: