Skip to content

Deprecate and replace all RubyHash, RubyString, and RubyArray constructors #9457

Description

@headius

As part of experimental work in JRuby 10.1, RubyHash and RubyArray were made abstract, and constructors in RubyString were deprecated for removal to start moving away from direct construction. However none of these changes were reflected in the 10.0.x line with equivalent factory methods and deprecations.

All constructors deprecated or removed by 10.1.0.0 need to have the following changes for JRuby 10.0.x:

  • Deprecate for removal as of next release.
  • Provide alternative factory methods equivalent to the old constructors.

See #9262 for RubyHash, #9371 for RubyString, and #9055 for RubyArray changes.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions