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

Deprecation cleanup #7718

Merged
merged 10 commits into from Mar 13, 2023
Merged

Deprecation cleanup #7718

merged 10 commits into from Mar 13, 2023

Conversation

headius
Copy link
Member

@headius headius commented Mar 13, 2023

No description provided.

Ruby methods should only throw standard Ruby exceptions, matching
CRuby, as much as is possible. In this case, there's a standard
IOError subclass for UnknownHostException that should be
preferred.

Other cases, such as in JRubyUtilLibrary.wait, are allowed to
throw Java exceptions since they are direct wrappers around Java-
specific behavior.
@headius headius added this to the JRuby 9.4.3.0 milestone Mar 13, 2023
@headius headius merged commit fa034e9 into jruby:master Mar 13, 2023
50 of 55 checks passed
@headius headius deleted the deprecation_cleanup branch March 13, 2023 19:53
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