Skip to content
New issue

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

dlload throws LoadError instead of Fiddle::DLError #5956

Closed
ankane opened this issue Nov 5, 2019 · 0 comments · Fixed by #5960
Closed

dlload throws LoadError instead of Fiddle::DLError #5956

ankane opened this issue Nov 5, 2019 · 0 comments · Fixed by #5960

Comments

@ankane
Copy link

@ankane ankane commented Nov 5, 2019

Environment

jruby 9.2.8.0 (2.5.3) 2019-08-12 a1ac7ff Java HotSpot(TM) 64-Bit Server VM 25.192-b12 on 1.8.0_192-b12 +jit [darwin-x86_64]

Expected Behavior

require "fiddle/import"

module Hello
  extend Fiddle::Importer
  dlload "hi"
end

raises Fiddle::DLError like MRI

Actual Behavior

Raises LoadError

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants