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

Jan Lahoda jlahoda at openjdk.org
Thu Mar 14 12:01:10 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.

Jan Lahoda has updated the pull request incrementally with one additional commit since the last revision:

  Reflecting review feedback.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/18163/files
  - new: https://git.openjdk.org/jdk/pull/18163/files/e552580b..9ce5fb1d

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=18163&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=18163&range=00-01

  Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 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