The `JLine` library used by `java.io.Console` spawns native processes by default on macOS/Linux platforms. (https://github.com/jline/jline3#jansi-vs-jna)
This imposes performance impact and should be replaced with JNI calls to the platform native libraries.
This imposes performance impact and should be replaced with JNI calls to the platform native libraries.
- duplicates
-
JDK-8306983 Do not invoke external programs when switch terminal to raw mode on selected platforms
- Resolved
- relates to
-
JDK-8302160 JDK 20+30 breaks external JLine usage with Error executing 'tty': not a tty (java.io.IOException)
- Closed
-
JDK-8299137 Regression >4% on SpringBoot in b27 on x64 and aarch64
- Closed
-
JDK-8295803 Console should be usable in jshell and other environments
- Resolved
-
JDK-8299689 Make use of JLine for Console as "opt-in"
- Resolved