Till B created JRUBY-6600: ----------------------------- Summary: Fibers are broken in JRuby 1.6.7 Key: JRUBY-6600 URL: https://jira.codehaus.org/browse/JRUBY-6600 Project: JRuby Issue Type: Bug Components: Core Classes/Modules Affects Versions: JRuby 1.6.7 Reporter: Till B
Fibers fail to load on JRuby 1.6.7 - when I run RSpec Tasks by executing a jar archive created with Warble a java.lang.ClassNotFoundException occurs: {code} $ java -jar -Djruby.compat.version=RUBY1_9 test.jar --trace file:/var/folders/jq/b4_wcv317_g98x0n71b3bx8w0000gn/T/jruby154197279178723728extract/jruby-stdlib-1.6.7.jar!/META-INF/jruby.home/bin/jruby -S rspec ./spec/test_spec.rb --colour --format nested org.jruby.exceptions.RaiseException: (LoadError) library `fiber' could not be loaded: java.lang.ClassNotFoundException: org.jruby.ext.fiber.ThreadFiberLibrary RuntimeError: file:/var/folders/jq/b4_wcv317_g98x0n71b3bx8w0000gn/T/jruby154197279178723728extract/jruby-stdlib-1.6.7.jar!/META-INF/jruby.home/bin/jruby -S rspec ./spec/test_spec.rb --colour --format nested failed initialize at file:/Users/tillb/Projects/test/test.jar!/gems/rspec-core-2.9.0/lib/rspec/core/rake_task.rb:137 verbose at file:/var/folders/jq/b4_wcv317_g98x0n71b3bx8w0000gn/T/jruby154197279178723728extract/jruby-stdlib-1.6.7.jar!/META-INF/jruby.home/lib/ruby/1.9/rake.rb:1110 __send__ at org/jruby/RubyBasicObject.java:1704 send at org/jruby/RubyKernel.java:2101 initialize at file:/Users/tillb/Projects/test/test.jar!/gems/rspec-core-2.9.0/lib/rspec/core/rake_task.rb:127 call at org/jruby/RubyProc.java:258 execute at file:/var/folders/jq/b4_wcv317_g98x0n71b3bx8w0000gn/T/jruby154197279178723728extract/jruby-stdlib-1.6.7.jar!/META-INF/jruby.home/lib/ruby/1.9/rake.rb:634 each at org/jruby/RubyArray.java:1615 execute at file:/var/folders/jq/b4_wcv317_g98x0n71b3bx8w0000gn/T/jruby154197279178723728extract/jruby-stdlib-1.6.7.jar!/META-INF/jruby.home/lib/ruby/1.9/rake.rb:629 invoke_with_call_chain at file:/var/folders/jq/b4_wcv317_g98x0n71b3bx8w0000gn/T/jruby154197279178723728extract/jruby-stdlib-1.6.7.jar!/META-INF/jruby.home/lib/ruby/1.9/rake.rb:595 mon_synchronize at file:/var/folders/jq/b4_wcv317_g98x0n71b3bx8w0000gn/T/jruby154197279178723728extract/jruby-stdlib-1.6.7.jar!/META-INF/jruby.home/lib/ruby/1.9/monitor.rb:201 invoke_with_call_chain at file:/var/folders/jq/b4_wcv317_g98x0n71b3bx8w0000gn/T/jruby154197279178723728extract/jruby-stdlib-1.6.7.jar!/META-INF/jruby.home/lib/ruby/1.9/rake.rb:588 invoke at file:/var/folders/jq/b4_wcv317_g98x0n71b3bx8w0000gn/T/jruby154197279178723728extract/jruby-stdlib-1.6.7.jar!/META-INF/jruby.home/lib/ruby/1.9/rake.rb:581 (root) at file:/Users/tillb/Projects/test/test.jar!/test/bin/execute_tests.rb:10 load at org/jruby/RubyKernel.java:1068 (root) at file:/Users/tillb/Projects/test/test.jar!/test/bin/execute_tests.rb:1 require at org/jruby/RubyKernel.java:1042 require at file:/Users/tillb/Projects/test/test.jar!/META-INF/main.rb:36 (root) at <script>:3 {code} The execute.rb in the jar file invokes the rspec rake task: {code} require 'rake' require 'bundler' require 'rspec/core/rake_task' desc "Run all examples" RSpec::Core::RakeTask.new(:spec) do |t| t.rspec_opts = ["--colour", "--format nested"] end Rake::Task["spec"].invoke {code} -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://jira.codehaus.org/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email