{"action":"created","issue":{"url":"https://api.github.com/repos/jruby/jruby/issues/2573","labels_url":"https://api.github.com/repos/jruby/jruby/issues/2573/labels{/name}","comments_url":"https://api.github.com/repos/jruby/jruby/issues/2573/comments","events_url":"https://api.github.com/repos/jruby/jruby/issues/2573/events","html_url":"https://github.com/jruby/jruby/issues/2573","id":56880819,"number":2573,"title":"minitest/autorun raises on jruby9000","user":{"login":"jrochkind","id":149304,"avatar_url":"https://avatars.githubusercontent.com/u/149304?v=3","gravatar_id":"","url":"https://api.github.com/users/jrochkind","html_url":"https://github.com/jrochkind","followers_url":"https://api.github.com/users/jrochkind/followers","following_url":"https://api.github.com/users/jrochkind/following{/other_user}","gists_url":"https://api.github.com/users/jrochkind/gists{/gist_id}","starred_url":"https://api.github.com/users/jrochkind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrochkind/subscriptions","organizations_url":"https://api.github.com/users/jrochkind/orgs","repos_url":"https://api.github.com/users/jrochkind/repos","events_url":"https://api.github.com/users/jrochkind/events{/privacy}","received_events_url":"https://api.github.com/users/jrochkind/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-06T23:06:22Z","updated_at":"2015-02-07T15:13:27Z","closed_at":null,"body":"~~~bash\r\n$ java -version\r\njava version \"1.7.0_75\"\r\nOpenJDK Runtime Environment (IcedTea 2.5.4) (7u75-2.5.4-1~precise1)\r\nOpenJDK 64-Bit Server VM (build 24.75-b04, mixed mode)\r\n$ javac -version\r\njavac 1.7.0_75\r\n$ ruby --version\r\njruby: warning: unknown property jruby.cext.enabled\r\njruby 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]\r\n~~~\r\n\r\n    require 'minitest/autorun'\r\n\r\nin source seems to result in:\r\n\r\n~~~\r\nLoadError: load error: minitest -- java.lang.ClassCastException: java.lang.String cannot be cast to org.jruby.runtime.builtin.IRubyObject\r\n\r\nrequire at org/jruby/RubyKernel.java:964\r\n(root) at /home/travis/.rvm/gems/jruby-head/gems/minitest-5.5.1/lib/minitest/autorun.rb:8\r\nrequire at org/jruby/RubyKernel.java:964\r\n(root) at /home/travis/build/traject-project/traject/test/test_helper.rb:1\r\nrequire at org/jruby/RubyKernel.java:964\r\n(root) at /home/travis/build/traject-project/traject/test/test_helper.rb:2\r\n~~~\r\n\r\nThis is just from travis output I haven't debugged further than that, but my test_helper.rb:2 is `require 'minitest/autorun'`. "},"comment":{"url":"https://api.github.com/repos/jruby/jruby/issues/comments/73368081","html_url":"https://github.com/jruby/jruby/issues/2573#issuecomment-73368081","issue_url":"https://api.github.com/repos/jruby/jruby/issues/2573","id":73368081,"user":{"login":"jrochkind","id":149304,"avatar_url":"https://avatars.githubusercontent.com/u/149304?v=3","gravatar_id":"","url":"https://api.github.com/users/jrochkind","html_url":"https://github.com/jrochkind","followers_url":"https://api.github.com/users/jrochkind/followers","following_url":"https://api.github.com/users/jrochkind/following{/other_user}","gists_url":"https://api.github.com/users/jrochkind/gists{/gist_id}","starred_url":"https://api.github.com/users/jrochkind/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrochkind/subscriptions","organizations_url":"https://api.github.com/users/jrochkind/orgs","repos_url":"https://api.github.com/users/jrochkind/repos","events_url":"https://api.github.com/users/jrochkind/events{/privacy}","received_events_url":"https://api.github.com/users/jrochkind/received_events","type":"User","site_admin":false},"created_at":"2015-02-07T15:13:27Z","updated_at":"2015-02-07T15:13:27Z","body":"Weirdly, this did not happen again on second try. Something weird with travis jruby-head setup, or since it's getting 'head' perhaps there was another commit which resolved a mistake. Anyway, I think this can be closed."}}