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

Update some warnings to deprecated #8071

Merged
merged 2 commits into from Jan 20, 2024
Merged

Conversation

headius
Copy link
Member

@headius headius commented Jan 19, 2024

This also marks syscall as not implemented (warns of pending deletion in CRuby) and modifies all RubyWarnings.warning* forms to no-op on verbose, as they used to (unsure when this changed).

@headius headius added this to the JRuby 9.4.6.0 milestone Jan 19, 2024
@headius
Copy link
Member Author

headius commented Jan 19, 2024

See ruby/ruby#3917 for the same changes in CRuby.

This also marks syscall as not implemented (warns of pending
deletion in CRuby) and modifies all RubyWarnings.warning* forms to
no-op on verbose, as they used to (unsure when this changed).
@headius
Copy link
Member Author

headius commented Jan 19, 2024

Changing warning() to only fire in verbose mode exposed several places where we call warning() instead of warn() as in CRuby. I'll fix those cases as well.

warning at some point started to warn all the time, even when not
verbose. Previous commit modified this logic to match CRuby, with
warning only producing output in verbose mode, but several specs
and tests failed that expected that output. These cases should be
warn, as in CRuby.
@headius headius merged commit e43e3b5 into jruby:master Jan 20, 2024
73 of 74 checks passed
@headius headius deleted the deprecated_things branch January 20, 2024 00:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant