We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
headius
Learn more about funding links in repositories.
Report abuse
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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 java.lang.NoSuchFieldError: SUPPORTS_FENCES (full stacktrace)
java.lang.NoSuchFieldError: SUPPORTS_FENCES
The same snippet works fine on jruby-9.1.6.0, so I believe there is a regression in 9.1.7 / master.
jruby-9.1.6.0
9.1.7
@headius
The text was updated successfully, but these errors were encountered:
This commit removed SUPPORTS_FENCES: Remove unsafe block from build altogether 64b9553
SUPPORTS_FENCES
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 UnsafeFences.SUPPORTS_FENCES instead?
UnsafeFences.SUPPORTS_FENCES
ruby-concurrency/concurrent-ruby@7b03abb This commit added the current solution to concurrent-ruby
Sorry, something went wrong.
Ahh I was worried about someone using those fields or methods. I will restore and deprecate the field.
993395f
This should be fixed on master. Please confirm!
Thanks for fixing it! I confirm that it works.
No branches or pull requests
I'm running latest version of concurrent-ruby (1.0.3) and JRuby master.
The last line crashes with
java.lang.NoSuchFieldError: SUPPORTS_FENCES
(full stacktrace)The same snippet works fine on
jruby-9.1.6.0
, so I believe there is a regression in9.1.7
/ master.@headius
The text was updated successfully, but these errors were encountered: