Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

T45K
Copy link
Contributor

@T45K T45K commented Aug 17, 2020

In #5837, only getSymbol(ByteList bytes, boolean hard) method was modified, and its similar method, getSymbol(ByteList bytes, ObjBooleanConsumer<RubySymbol> handler, boolean hard) was not modified.
I think the method has a potential bug, so I fixed it.

@T45K T45K force-pushed the fix_inconsistency_in_5837 branch from d26e74c to 7fcca42 Compare August 18, 2020 01:27
@enebo enebo requested a review from headius August 26, 2020 18:24
@headius
Copy link
Member

headius commented Sep 1, 2020

Seems good to me, and we should probably try to move away from using ByteList.toString since it is confusing that it returns a raw ISO-8859-1 string regardless of the encoding.

@headius headius added this to the JRuby 9.3.0.0 milestone Sep 1, 2020
@headius headius merged commit 7574dbb into jruby:master Sep 1, 2020
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.

2 participants