Integrated: 8341631: JShell should auto-import java.io.IO.*

Jan Lahoda jlahoda at openjdk.org
Wed Nov 20 09:27:25 UTC 2024


On Tue, 19 Nov 2024 12:03:08 GMT, Jan Lahoda <jlahoda at openjdk.org> wrote:

> Adding `import static java.io.IO.*;` to the preview-default script of JShell. Also fixing JShell's console to handle the new `IO` methods properly.

This pull request has now been integrated.

Changeset: cf158bc6
Author:    Jan Lahoda <jlahoda at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/cf158bc6cdadfdfa944b8ec1d3dc7069c8f055a9
Stats:     141 lines in 7 files changed: 124 ins; 0 del; 17 mod

8341631: JShell should auto-import java.io.IO.*

Reviewed-by: asotona, cstein

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

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


More information about the kulla-dev mailing list