RFR: JDK-8080679: Include jline in JDK for Java and JavaScript REPLs
Alan Bateman
Alan.Bateman at oracle.com
Tue Jun 30 12:10:29 UTC 2015
On 29/06/2015 12:25, Jan Lahoda wrote:
>
> The library is Windows-only, but the WindowsTerminal (or its
> subclasses) are registered on all platforms using
> "WindowsTerminal.class". While this does not cause initialization, it
> seemed safer to ensure the library is only loaded when needed.
>
This seems odd, I wonder why TerminalFactory does not check os.name
before registering the platform specific implementation.
Is this were fixed to register WindowsTerminal or UnixTerminal rather
than both then would it fix this?
-Alan.
More information about the core-libs-dev
mailing list