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

Remove SecurityManager usage and references #1262

Open
jim-krueger opened this issue May 13, 2024 · 2 comments
Open

Remove SecurityManager usage and references #1262

jim-krueger opened this issue May 13, 2024 · 2 comments

Comments

@jim-krueger
Copy link
Contributor

The SecurityManager has been deprecated in JDK 11 (I believe) and removed in JDK 18+. The JAkarta Rest APIs should be cleaned to removed all usage and references going forward.

For sure these API's a affected and possibly more:

  • jakarta/ws/rs/sse/FactoryFinder.java
  • jakarta/ws/rs/ext/RuntimeDelegate.java
  • jakarta/ws/rs/ext/FactoryFinder.java
  • jakarta/ws/rs/client/FactoryFinder.java
  • jakarta/ws/rs/client/ClientBuilder.java
@jamezp
Copy link
Contributor

jamezp commented May 13, 2024

FWIW it has not yet been removed, but you have to explicitly enable it. It was deprecated in 17 with https://openjdk.org/jeps/411. It does however still work if you explicitly enable it.

AFAIK there is not an explicit version set for it to be removed in.

That said, it's been removed from the Jakarta EE 11 Platform specification jakartaee/platform#551.

All that said, addressing this in 5.0 makes sense to me.

@jim-krueger
Copy link
Contributor Author

Thanks for the clarification James.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Jakarta REST 5.0
Awaiting triage
Development

No branches or pull requests

2 participants