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

Jan Lahoda jlahoda at openjdk.org
Mon Mar 18 08:27:31 UTC 2024


On Fri, 8 Mar 2024 08:40:19 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> 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.

This pull request has now been integrated.

Changeset: 48717d63
Author:    Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/48717d63cc58f693f0917e61eafd672cd6af02ed
Stats:     39 lines in 2 files changed: 26 ins; 7 del; 6 mod

8326333: jshell <TAB> completion on arrays is incomplete

Reviewed-by: vromero

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

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


More information about the kulla-dev mailing list