Is this possible to have multiple JShell
instances in a single JVM whilst keeping them independent? Like each instance having separate classpath/class definitions even if their names are the same? I want to create multiple REPLs but avoid creating a separate JVM for each one.
REPL user must be able to define types without interfering with other JShell
instances.
Is it possible? Is it out of the box? What to do to achieve it?