Skip to content

jruby (ext) loading left-overs to consider #5233

@kares

Description

@kares

... left-overs from #5205

  • do we force users extension authors to do a require 'jruby' ... loosely needed atm
    (most exts tend to have an explicit require 'jruby' or use the new load_ext mechanism)

  • JRuby auto-loads the java library (since ~ 1.6/1.7) think about NOT auto loading require 'jruby'
    now, its auto-loaded from kernel which was likely not intentional (should only auto require 'java')?

  • document extension loading (wiki): require 'jruby'; JRuby.load_ext('foo.bar.MyExtClass')

  • need to propagate load_ext changes to gems we tend to boot often (on every run) ~ due RGs :
    jruby-openssl, jruby-readline, psych, jar-dependencies
    ... and get them to propagate releases (so this PR delivers the promised loading speed improvement)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions