Skip to content

Conversation

@Achal1607
Copy link
Member

JShell automatically closes the input stream when -1 is returned via CustomInputStream, with no mechanism to reopen or reset it.
This change replaces -1 returns with EOFException to safely signal user dismissal while keeping the stream open.

@Achal1607 Achal1607 added this to the JVSC 25.0.1 milestone Oct 31, 2025
@Achal1607 Achal1607 requested a review from sid-srini October 31, 2025 06:21
@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Oct 31, 2025
Copy link
Member

@sid-srini sid-srini left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @Achal1607. LGTM 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants