-
Sub-task
-
Resolution: Withdrawn
-
P4
-
None
-
20
-
generic
-
generic
`System.console()` historically only returned the `Console` when the Java virtual machine was associated with a character-based console device. This has changed in this release to return the `Console` object even when standard input is connected to a file or other virtual device.
This support makes use of a JDK module named `jdk.internal.le`. When creating a run-time image with the `jlink` tool then the improved console support is only available when this module is included in the run-time image. If this module is not included then `System.console()` will only return the `Console` object whe the Java virtual machine is associated with a character-based console device.
This support makes use of a JDK module named `jdk.internal.le`. When creating a run-time image with the `jlink` tool then the improved console support is only available when this module is included in the run-time image. If this module is not included then `System.console()` will only return the `Console` object whe the Java virtual machine is associated with a character-based console device.