Skip to content

Fixes to get stringio tests and specs green#8643

Merged
headius merged 3 commits intojruby:masterfrom
headius:stringio_fixes
Feb 20, 2025
Merged

Fixes to get stringio tests and specs green#8643
headius merged 3 commits intojruby:masterfrom
headius:stringio_fixes

Conversation

@headius
Copy link
Member

@headius headius commented Feb 19, 2025

After working on getting the CRuby stringio tests green in ruby/stringio#116 I turned my attention to stringio specs. These fixes are intended to get the specs green as well.

The stringio library depends on being able to pass an encoding
only as the first argument to rb_enc_check, which causes the
downstream enc_compatible_latter to reject incompatible encodings
regardless of the first string being blank.

Part of fixes to pass stringio tests in ruby/stringio#116.
@headius headius added this to the JRuby 9.4.13.0 milestone Feb 19, 2025
@headius
Copy link
Member Author

headius commented Feb 20, 2025

These will need ruby/stringio#116 to be merged and released before being green and removing spec tags and test excludes.

@headius headius merged commit 84516c3 into jruby:master Feb 20, 2025
184 of 189 checks passed
@headius headius deleted the stringio_fixes branch February 20, 2025 00:19
headius added a commit to headius/stringio that referenced this pull request Feb 20, 2025
This method is added to JRuby in 9.4.13.0 and avoids the overhead
of creating a fake CodeRangeable.

See jruby/jruby#8643
headius added a commit to headius/stringio that referenced this pull request Feb 20, 2025
This method is added to JRuby in 9.4.13.0 and avoids the overhead
of creating a fake CodeRangeable.

See jruby/jruby#8643
headius added a commit to ruby/stringio that referenced this pull request Feb 20, 2025
This method is added to JRuby in 9.4.13.0 and avoids the overhead
of creating a fake CodeRangeable.

See jruby/jruby#8643
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