Skip to content

[fix] rename RubyHash#set(get) to avoid collision#9459

Open
kares wants to merge 1 commit into
jruby:masterfrom
kares:fix-map-hash-regression
Open

[fix] rename RubyHash#set(get) to avoid collision#9459
kares wants to merge 1 commit into
jruby:masterfrom
kares:fix-map-hash-regression

Conversation

@kares
Copy link
Copy Markdown
Member

@kares kares commented May 23, 2026

Groovy's map['foo'] = 10 "set-property" protocol would end up picking up the set(int, xxx) as the setter instead of doing a Map#put

hopefully, closing #9393

Groovy's `map['foo'] = 10` "set-property" protocol would end up picking
up the `set(int, xxx)` as the setter instead of doing a `Map#put`
@kares kares added this to the JRuby 10.1.1.0 milestone May 23, 2026
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.

[10.1.0.0] Java::JavaLang::IllegalArgumentException: argument type mismatch

1 participant