Skip to content

Commit

Permalink
Use new name for cat19
Browse files Browse the repository at this point in the history
This cannot be merged until JRuby has released a version that
supports it, and should not be released until we have decided how
to transition away from older JRuby versions that do not have this
name.

See ruby#83
  • Loading branch information
headius committed Mar 12, 2024
1 parent 42983f8 commit 84ee4cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/java/org/jruby/ext/stringio/StringIO.java
Original file line number Diff line number Diff line change
Expand Up @@ -1299,7 +1299,7 @@ private long stringIOWrite(ThreadContext context, Ruby runtime, IRubyObject arg)
if (enc == EncodingUtils.ascii8bitEncoding(runtime) || encStr == EncodingUtils.ascii8bitEncoding(runtime)) {
EncodingUtils.encStrBufCat(runtime, ptr.string, strByteList, enc);
} else {
ptr.string.cat19(str);
ptr.string.catWithCodeRange(str);
}
} else {
strioExtend(ptr.pos, len);
Expand Down

0 comments on commit 84ee4cd

Please sign in to comment.