jshell <TAB> completion on arrays is incomplete

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 23
    • Affects Version/s: None
    • Component/s: tools
    • None
    • b15

      <TAB> completion on array expression in jshell only seems to work for `.length` but not, say, for `.toString()` or `.clone()`.
      So `new int[0].toS`<TAB> won’t complete, and you have to write down `toString()` yourself.

      As arrays extend `j.l.Object` (and implement `j.l.Cloneable` and `j.i.Serializable`, but they don't expose any member), methods in `j.l.Object` should be supported on completion.

            Assignee:
            Jan Lahoda
            Reporter:
            Raffaello Giulietti
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: