Skip to content

optimist gem specs get StackOverflowError on JRuby 10 #8699

@Fryguy

Description

@Fryguy

Environment Information

Provide at least:

  • JRuby version (jruby -v) and command line (flags, JRUBY_OPTS, etc)
    • jruby 10.0.0.0-SNAPSHOT (3.4.2) 2025-03-14 a4e4d7dc4c OpenJDK 64-Bit Server VM 21.0.6+7-LTS on 21.0.6+7-LTS +indy +jit [x86_64-linux]
  • Operating system and platform (e.g. uname -a)
    • ubuntu-latest GitHub Actions runner

Expected Behavior

Expected the optimist gem's specs to pass the way that jruby-9.4 passed.

Specs can be run by cloning https://github.com/ManageIQ/optimist, bundle update, then bundle exec rake

Example run of specs succeeding with jruby-9.4: https://github.com/ManageIQ/optimist/actions/runs/13865268977/job/38803994166

Actual Behavior

StackOverflowError while running the specs of the optimist gem.

Example run of specs failing with jruby-head: https://github.com/ManageIQ/optimist/actions/runs/13865268977/job/38803994038


Related to #8675

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