Steps towards integrating Kulla into JDK9

mark.reinhold at oracle.com mark.reinhold at oracle.com
Thu Apr 23 20:59:47 UTC 2015


2015/4/23 1:51 -0700, brian.goetz at oracle.com:
> I guess we've got us a bikeshed :)
> 
>> As to the name of the package, that depends where the center is.  For
>> someone wanting to look at how the tool is implemented jdk.jshell would
>> be right. For an IDE using the evaluation API, jdk.eval or something
>> like that would be appropriate. I think eval applies to both, but jshell
>> only applies to the tool.
> 
> While this argument would surely hold up in court, I think the notion of 
> "tool backed by a library" is one that is entirely understandable to 
> people, and "jdk.jshell" is much more evocative of what it does than 
> "jdk.eval".  I worry that we're sacrificing usability for correctness in 
> this choice of name.  We want people to be able to look at the module 
> names in the module graph and be able to have an idea of what it does.

I agree.  "jdk.jshell" is a better name for the module, and for the
packages that it exports.  "eval" is just way too generic, and "repl"
is a somewhat specialized term (not to us, but to the 9 million).

- Mark


More information about the kulla-dev mailing list