Providing a couple of utility methods using the "built-in" `Console` 
implementation to support tools that require password input, such as `keytool`, 
ensuring they work even when stdin is redirected.

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

Commit messages:
 - Expose isStdinTty() instead of ttyStatus() through JavaIOAccess
 - Merge branch 'master' into base-provider-impl
 - istty -> ttyStatus, etc
 - Self-check System.console() availability
 - passing delegate to JdkConsoleImpl
 - return type: Object->JdkConsoleImpl
 - test fix
 - Removed dedicated impl class
 - int istty
 - Merge branch 'master' into base-provider-impl
 - ... and 2 more: https://git.openjdk.org/jdk/compare/1ff73cb2...25393876

Changes: https://git.openjdk.org/jdk/pull/26973/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26973&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8366261
  Stats: 98 lines in 6 files changed: 74 ins; 0 del; 24 mod
  Patch: https://git.openjdk.org/jdk/pull/26973.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26973/head:pull/26973

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

Reply via email to