JShell: packages

Sundararajan Athijegannathan sundararajan.athijegannathan at oracle.com
Fri Sep 18 04:14:16 UTC 2015


jline is used by nashorn's jjs tools as well (jdk.nashorn.tools.jjs.Main).

Why should jline be on the same package as jshell? It is under 
jdk.internal.jline package (in jdk.internal.le module that is exposed to 
both jshell and nashorn's shell module).

-Sundar

On 9/18/2015 5:55 AM, Maurizio Cimadamore wrote:
>
>
> On 18/09/15 01:20, Maurizio Cimadamore wrote:
>> Now I'm confused 
> Less confused now - you prefer changing jline's package instead of 
> jshell's. That should work too (dunno if jshell uses other stuff 
> inside other jdk.internal sub-packages).
>
> Whatever works - as long as jshell, jline and any other JDK 
> dependencies end up with same package name.
>
> Maurizio



More information about the kulla-dev mailing list