<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.
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.
- relates to
-
JDK-8350595 jshell <TAB> completion on arrays does not work for clone()
-
- Open
-