8000 Fix inconsistency in #5837 by T45K · Pull Request #6360 · jruby/jruby · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix inconsistency in #5837 #6360

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 1, 2020
Merged

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
0