Skip to content

Honor JRuby raw mode options - #155

Open
OskarEichler wants to merge 1 commit into
ruby:masterfrom
OskarEichler:codex/jruby-raw-options
Open

Honor JRuby raw mode options#155
OskarEichler wants to merge 1 commit into
ruby:masterfrom
OskarEichler:codex/jruby-raw-options

Conversation

@OskarEichler

Copy link
Copy Markdown

Summary

Forward min:, time: and intr: through JRuby's mutating raw-mode paths, preserve fractional timeout conversion, accept min: nil, and return the receiver from raw!.

Reproduction

Focused external FFI/stty models show that current raw! discards every option, truncates fractional timeout before converting to deciseconds, and returns backend state rather than the IO receiver.

Verification

  • external JRuby-backend option/return models
  • release/cumulative candidate: 36 tests / 143 assertions
  • current upstream: 35 tests / 144 assertions
  • syntax, Java/native package builds and Rails 8.1.3.1 loading

Compatibility

Matches MRI's existing option and return contracts. JRuby was modeled but is unavailable locally; current upstream CI is green on JRuby. Prepared with AI-assisted source review; no repository tests were changed.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant