RFR: 8295803: Console should be usable in jshell and other environments [v12]

Naoto Sato naoto at openjdk.org
Wed Dec 7 17:09:53 UTC 2022


> This is to allow Console to be used even when it is not attached to the platform provided terminal, such as the case when the standard input is redirected. `System.console()` now returns a Console implementation based on `jdk.internal.le` terminal by default, or jshell implementation if available. A corresponding CSR has been drafted.

Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:

  Addressing review comments

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/11421/files
  - new: https://git.openjdk.org/jdk/pull/11421/files/40de5d0a..187f94fb

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11421&range=11
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11421&range=10-11

  Stats: 10 lines in 3 files changed: 8 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/11421.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/11421/head:pull/11421

PR: https://git.openjdk.org/jdk/pull/11421



More information about the security-dev mailing list