Skip to content

Deprecation cleanup#7718

Merged
headius merged 10 commits intojruby:masterfrom
headius:deprecation_cleanup
Mar 13, 2023
Merged

Deprecation cleanup#7718
headius merged 10 commits intojruby:masterfrom
headius:deprecation_cleanup

Conversation

@headius
Copy link
Member

@headius headius commented Mar 13, 2023

No description provided.

headius added 3 commits March 13, 2023 09:42
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 force-pushed the deprecation_cleanup branch from 544eaf3 to c616e9c Compare March 13, 2023 18:26
@headius headius merged commit fa034e9 into jruby:master Mar 13, 2023
@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.

1 participant