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

Kernel#warn doesn't handle exceptions as expected #5608

ashmaroli opened this Issue Feb 12, 2019 · 1 comment


None yet
2 participants
Copy link

ashmaroli commented Feb 12, 2019


(Note: This issue was detected on Travis CI and has has not been tested elsewhere.)

  • JRuby version (jruby -v):
  • Operating system and platform (e.g. uname -a): Ubuntu 14.04.5 LTS

Other relevant info you may wish to add:

Expected Behavior

# sample script

exp ='lorem ipsum dolor sit')
warn exp

# (On MRI):
# => "lorem ipsum dolor sit"

Actual Behavior

TypeError: no implicit conversion of ArgumentError into String

@enebo enebo added this to the JRuby milestone Feb 12, 2019


This comment has been minimized.

Copy link

enebo commented Feb 12, 2019

Wow you found something we have never implemented which was valid in Ruby 1.8 (and possibly older)!

@enebo enebo closed this in e509934 Feb 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.