RFR: JDK-8234896: Tab completion does not work for method references in jshell.
Robert Field
robert.field at oracle.com
Wed Mar 4 02:43:11 UTC 2020
Wonderful!
Thumbs up!
-Robert
On 2019-11-27 03:49, Jan Lahoda wrote:
> Hi,
>
> The tab completion does not propose methods for method references. E.g.:
> ---
> jshell> class C { public static void test() { } }
> | created class C
>
> jshell> Runnable r = C::<tab>
> ---
>
> Produces no proposals. This patch tries to fix that, by proposing
> methods (and the smart code completion will filter methods that have
> acceptable parameter/return types).
>
> Webrev: http://cr.openjdk.java.net/~jlahoda/8234896/webrev.00/
> JBS: https://bugs.openjdk.java.net/browse/JDK-8234896
>
> How does this look?
>
> Thanks,
> Jan
More information about the kulla-dev
mailing list