hg: kulla/dev/langtools: Clarify that input to eval() is exactly one snippet.

Robert Field robert.field at oracle.com
Fri Feb 27 16:43:54 UTC 2015


Only in cases like this:

    int x, y = 4, z

Gives three snippets, one for each var. This needs clarification in the 
javadoc.

-Robert





On February 27, 2015 4:49:13 AM "andrei.eremeev" 
<andrei.eremeev at oracle.com> wrote:

> Hi Robert,
>
> eval returns a list of EvalResult. So when does this method return a list?
>
> Andrei
>
> On 02/27/2015 05:23 AM, robert.field at oracle.com wrote:
> > Changeset: 1746ef1be7d3
> > Author:    rfield
> > Date:      2015-02-26 18:23 -0800
> > URL:       http://hg.openjdk.java.net/kulla/dev/langtools/rev/1746ef1be7d3
> >
> > Clarify that input to eval() is exactly one snippet.
> >
> > ! repl/src/api/EvalState.java
> >
>




More information about the kulla-dev mailing list