Deprecate RubyHash constructors for 10.1 abstraction#9474
Merged
Conversation
headius
force-pushed
the
deprecated_hash_constructors
branch
3 times, most recently
from
June 4, 2026 18:47
90ee9be to
624fddb
Compare
headius
force-pushed
the
deprecated_hash_constructors
branch
from
June 4, 2026 20:09
624fddb to
93927e3
Compare
headius
added a commit
to headius/jruby
that referenced
this pull request
Jun 13, 2026
This constructor was restored by deprecation patches from 10.0 in jruby#9474 but the merge of that to 10.1 left it as a normal non-delegated constructor. This patch makes the following changes: * Make this constructor delegate, like the other deprecated RubyHash constructors. * Remove the protected constructor from RubyHashLinkedBuckets, so that it lives only in RubyHash and we can be sure all callers need delegation. The constructor should move back into RubyHashLinkedBuckets as a protected internal constructor once we can safely remove the constructors from RubyHash (10.2 or later).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.