Skip to content

Delete methods deprecated prior to JRuby 9.4.0.0#9299

Merged
headius merged 12 commits intojruby:masterfrom
headius:delete_deprecated
Mar 11, 2026
Merged

Delete methods deprecated prior to JRuby 9.4.0.0#9299
headius merged 12 commits intojruby:masterfrom
headius:delete_deprecated

Conversation

@headius
Copy link
Copy Markdown
Member

@headius headius commented Mar 10, 2026

There's a few places where methods were deprecated but superclass or interface versions were not. Those will have to wait until all versions have been deprecated for some time.

Others had interface or abstract methods that were deprecated some time ago but the implementations were deprecated in 9.4.x. Those have generally been deleted.

A few places that reflectively access deprecated methods have been documented and the original method remains in place.

There are also several places where methods were deprecated but no suitable replacement is available, and they are still in use with SuppressWarnings. We will need to audit all SuppressWarnings and either find suitable replacements or un-deprecated.

There's a few places where methods were deprecated but superclass
or interface versions were not. Those will have to wait until all
versions have been deprecated for some time.

Others had interface or abstract methods that were deprecated some
time ago but the implementations were deprecated in 9.4.x. Those
have generally been deleted.

A few places that reflectively access deprecated methods have been
documented and the original method remains in place.

There are also several places where methods were deprecated but no
suitable replacement is available, and they are still in use with
SuppressWarnings. We will need to audit all SuppressWarnings and
either find suitable replacements or un-deprecated.
@headius headius added this to the JRuby 10.1.0.0 milestone Mar 10, 2026
headius added 3 commits March 10, 2026 19:01
jruby-openssl still builds against an older JRuby that uses these
deprecated signatures. It will need to be rebuilt with a newer
JRuby once we have decided to abandon those older versions.

The "pre" methods are also still used by these older forms, so they
are restored here.
jruby-openssl still uses this older blocking task API. It will need
to be updated to a newer API that is available on all the JRuby
versions it supports.
@headius headius force-pushed the delete_deprecated branch from 928b38c to bb1c8a8 Compare March 11, 2026 00:46
@headius headius force-pushed the delete_deprecated branch from bb1c8a8 to 6d6abba Compare March 11, 2026 00:53
@headius headius merged commit 991f63a into jruby:master Mar 11, 2026
160 of 161 checks passed
@headius headius deleted the delete_deprecated branch March 11, 2026 17:46
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