Skip to content

Drop use of deprecated APIs from JRuby #346

@headius

Description

@headius

In jruby/jruby#9299 I attempted to remove all APIs deprecated prior to the release of JRuby 9.4.0.0, knowing that there would be some third-party libraries that still accessed them. jruby-openssl was a cuplrit for several:

  • Generated method objects from jruby-openssl still use old-style constructors that don't accept name and a few "pre" methods for framing. This is due to the generation being run on an older version of JRuby. jruby/jruby@2dd94ed
  • An older BlockingTask API for interrupting blocking operations, which has been replaced in the last few major JRuby releases. jruby/jruby@c086c7a
  • Deprecated RaiseException constructors. jruby/jruby@d13daa5
  • RubyHash#visitAll which has been replaced by versions that pass more state through (to reduce the need for a Lambda state object). jruby/jruby@fa1305f

We should try to eliminate these uses while still considering how far back we want to support old JRuby releases.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions