Skip to content

Fixes #9384. Set.new(a_set) throws LocalJumpError#9385

Merged
enebo merged 2 commits into
jruby:masterfrom
enebo:topic/fix_set_init
Apr 20, 2026
Merged

Fixes #9384. Set.new(a_set) throws LocalJumpError#9385
enebo merged 2 commits into
jruby:masterfrom
enebo:topic/fix_set_init

Conversation

@enebo

@enebo enebo commented Apr 20, 2026

Copy link
Copy Markdown
Member

Simple fix. Added some specs to catch this. Same logic as Array case should be used by Set as well.

@enebo enebo added this to the JRuby 10.1.0.0 milestone Apr 20, 2026
@enebo enebo merged commit e14ae1f into jruby:master Apr 20, 2026
106 of 108 checks passed
@enebo enebo deleted the topic/fix_set_init branch April 20, 2026 17:06
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