RFR: 8296454: System.console() shouldn't return null in jshell [v4]
Jan Lahoda
jlahoda at openjdk.org
Tue Mar 21 10:25:38 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:
Update src/jdk.jshell/share/classes/jdk/jshell/execution/impl/ConsoleImpl.java
Co-authored-by: Andrey Turbanov <turbanoff at gmail.com>
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/11695/files
- new: https://git.openjdk.org/jdk/pull/11695/files/cc9c6f74..a5daeb51
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=11695&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=11695&range=02-03
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