RFR 8133872: Expression completion should work on contexts where an expression is accepted

Hannes Wallnoefer hannes.wallnoefer at oracle.com
Wed Aug 19 02:00:16 UTC 2015


Great work, Sundar!

One question I have: why did you put getLastExpressionStart in 
Shell.java and make it protected there instead of implementing 
PartialParser right there?

Hannes

Am 2015-08-19 um 01:39 schrieb Sundararajan Athijegannathan:
> Hi,
>
> I've updated this webrev slightly:
>
> http://cr.openjdk.java.net/~sundar/8133872/webrev.01/
>
> Changes from earlier webrev:
>
> 1) Added PartialParser interface rather than passing Main object to 
> NashornCompleter.
> 2) Added key set to HistoryObject - so that "history." completion will 
> work as expected.
>
> Everything else remains the same.
>
> Thanks,
> -Sundar
>
> On 8/18/2015 10:40 PM, Michael Haupt wrote:
>> Hi Sundar,
>>
>> lower-case thumbs up!
>>
>> Best,
>>
>> Michael
>>
>>> Am 18.08.2015 um 10:04 schrieb Sundararajan Athijegannathan 
>>> <sundararajan.athijegannathan at oracle.com>:
>>>
>>> Please review http://cr.openjdk.java.net/~sundar/8133872/ for 
>>> https://bugs.openjdk.java.net/browse/JDK-8133872
>>>
>>> Thanks,
>>> -Sundar
>



More information about the nashorn-dev mailing list