Skip to content

minitest/autorun raises on jruby9000 #2573

@jrochkind

Description

@jrochkind
$ java -version
java version "1.7.0_75"
OpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~precise1)
OpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)
$ javac -version
javac 1.7.0_75
$ ruby --version
jruby: warning: unknown property jruby.cext.enabled
jruby 9.0.0.0-SNAPSHOT (2.2.0p0) 2015-02-05 c804f97 OpenJDK 64-Bit Server VM 24.75-b04 on 1.7.0_75-b13 +jit [linux-amd64]
require 'minitest/autorun'

in source seems to result in:

LoadError: load error: minitest -- java.lang.ClassCastException: java.lang.String cannot be cast to org.jruby.runtime.builtin.IRubyObject

require at org/jruby/RubyKernel.java:964
(root) at /home/travis/.rvm/gems/jruby-head/gems/minitest-5.5.1/lib/minitest/autorun.rb:8
require at org/jruby/RubyKernel.java:964
(root) at /home/travis/build/traject-project/traject/test/test_helper.rb:1
require at org/jruby/RubyKernel.java:964
(root) at /home/travis/build/traject-project/traject/test/test_helper.rb:2

This is just from travis output I haven't debugged further than that, but my test_helper.rb:2 is require 'minitest/autorun'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions