Skip to content

Conversation

@vlad-lyutenko
Copy link
Contributor

This is a shim to allow the use of both modern (JRE 18+) and legacy APIs (deprecated in 17, degraded in 23, removal unknown) related to JEP 411: Deprecate the Security Manager for Removal.

This shim implements the interim strategy outlined in KIP-1006: Remove SecurityManager Support where legacy APIs are used as long as they are available and functional. Once the legacy APIs are removed or degraded, the modern APIs are used instead.

The shim is structured as a general interface with four 'strategy' implementations for testability. These implementations allow for mocking out the classloading infrastructure to simulate situations which no current JRE implements, namely removal and further degradation of functionality

@zchovan
Copy link
Contributor

zchovan commented Mar 26, 2025

@vlad-lyutenko the Kudu community doesn't accept code contributions via pull requests, the changes are reviewed and merged via gerrit: https://gerrit.cloudera.org/q/status:open+project:kudu
I'd recommend submitting this patch there. Thanks for looking into this!

@alexeyserbin
Copy link
Member

Hi @vlad-lyutenko, thank you very much for this PR!

As @zchovan mentioned, the Kudu project doesn't merge new code through PRs; we use the gerrit tool to do code review and submission. Could you follow the guidance here to adapt this PR into a gerrit change?

@vlad-lyutenko
Copy link
Contributor Author

Sure, just made it

@hqbhoho
Copy link

hqbhoho commented Oct 23, 2025

Hi, how is the progress of this work?

@martongreber
Copy link
Contributor

martongreber commented Oct 24, 2025

Hi, how is the progress of this work?

Hi!
The change has been reviewed and merged: https://gerrit.cloudera.org/#/c/22703/
Merged commit:
586cfc2

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.

5 participants