Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Concurrent::ScheduledTask is broken on master JRuby #4407
I'm running latest version of concurrent-ruby (1.0.3) and JRuby master.
require 'concurrent' class Job def perform puts "ddd" end end job = Job.new executor = Concurrent::ImmediateExecutor.new Concurrent::ScheduledTask.execute(10, args: [job], executor: executor, &:perform)
The last line crashes with
The same snippet works fine on
And concurrent-ruby relies on that field: concurrent-ruby code using that field in its Java/JRuby extension
What's the new/preferred way forward for concurrent-ruby, now that this field is gone?
Can they use
ruby-concurrency/concurrent-ruby@7b03abb This commit added the current solution to concurrent-ruby