RFR 8152925: JShell: enable corralling of any type declaration, including enum

Jan Lahoda jan.lahoda at oracle.com
Fri Apr 1 11:08:21 UTC 2016


In Eval.java, in processClass and processMethod, why split the variable 
declarations and initializations, and put the initializations into a 
block? Seems that the variables could have initializers as before?

Otherwise, seems OK (and better!) to me.

Jan

On 29.3.2016 08:23, Robert Field wrote:
> Bug:
>      https://bugs.openjdk.java.net/browse/JDK-8152925
>
> Webrev:
>      http://cr.openjdk.java.net/~rfield/8152925.webrev/
>
> Thanks,
> Robert
>


More information about the kulla-dev mailing list