RFR: 8326333: jshell <TAB> completion on arrays is incomplete

Jan Lahoda jlahoda at openjdk.org
Fri Mar 8 08:45:13 UTC 2024


Inside jshell, arrays don't show `Object` method in array code completion, i.e.:

jshell> String[] arr = null;
arr ==> null

jshell> arr.<code-completion-here>


will only show `length`. This patch adds `j.l.Object` methods to the suggestions for arrays.

-------------

Commit messages:
 - 8326333: jshell <TAB> completion on arrays is incomplete

Changes: https://git.openjdk.org/jdk/pull/18163/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18163&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8326333
  Stats: 38 lines in 2 files changed: 26 ins; 7 del; 5 mod
  Patch: https://git.openjdk.org/jdk/pull/18163.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18163/head:pull/18163

PR: https://git.openjdk.org/jdk/pull/18163


More information about the kulla-dev mailing list