RFR: 8296454: System.console() shouldn't return null in jshell [v5]

Jan Lahoda jlahoda at openjdk.org
Mon Apr 3 14:30:56 UTC 2023


> Implements `System.console()` for JShell, based on JDK-8295803. It is only supported for (supported) remote agents.
> 
> When a snippet calls a Console method in the remote agent, a request to perform the task is sent to the main process, performed, and the outcomes are sent back to the remote agent, and returned from the Console method.
> 
> Please also review the CSR for the newly added API:
> https://bugs.openjdk.org/browse/JDK-8299680

Jan Lahoda has updated the pull request incrementally with one additional commit since the last revision:

  Fixing typo

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/11695/files
  - new: https://git.openjdk.org/jdk/pull/11695/files/a5daeb51..05eccb18

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=11695&range=04
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=11695&range=03-04

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/11695.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/11695/head:pull/11695

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


More information about the kulla-dev mailing list