-
Notifications
You must be signed in to change notification settings - Fork 123
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
Comments
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. |
Thanks for the clarification James. |
As pointed out by Guru in https://www.eclipse.org/lists/rest-dev/msg00314.html, there may be need to address this in a service release prior to 5.0 depending on your timeline. For reference, the Security Manger is proposed to be permanently disabled in Java SE 24. JEP 486: Permanently Disable the Security Manager |
JEP 486 says:
What breaks in 4.x API if the references to the Security Manager are not removed? Looks like all references in the API of rest does are optional behavior only if there is a Seems like a fine thing to do for a 5.0 release. |
I replied to the email, but I agree that I see no reason to do a service release for this. This seems fine for 5.0, but I see no reason to remove it for 4.0. |
This would not be possible anyway. As Emily Jiang states in the email chain: |
+1 for 5.0 |
I agree this isn't needed for a point release of 4.x, but I consider it a bug fix vs. an actual API change since all the changes would be internal to the body of the methods and would not change the API signatures. But the "bug fix" isn't fixing any actual problem because the security manager APIs will remain in the next Java release. It is not until we get another JEP that pushes for the final removal of all the security manager APIs that this becomes a problem. At that point it would be a required bug fix so that the API JARs for 4.x could be used on the version of java that finally removes the security manager APIs. |
Following JEP 14's tip-and-tail model, I am +1 for removing all references to |
Just wondering, consider the opposite situation: Some people from the team did a service release and actually removed the security manager references (it's almost trivial to do so) Would y'all actually want to revert that then, and do yet another service release to bring the security manager back? |
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:
The text was updated successfully, but these errors were encountered: