JDK-8191139 : Remove deprecated javax.security.auth.Policy API
Type:Sub-task
Component:security-libs
Sub-Component:javax.security
Affected Version:11
Priority:P3
Status:Resolved
Resolution:Fixed
Submitted:2017-11-13
Updated:2022-09-28
Resolved:2018-03-08
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
The deprecated javax.security.auth.Policy API was marked with forRemoval=true in JDK 10.
Comments
Looks like src/java.base/share/classes/sun/security/provider/SubjectCodeSource.java could have been removed with this change. I'll log a bug.
https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/sun/security/provider/SubjectCodeSource.java
This sub-task was created as a development task that I will use in my code change to remove the Policy class. It is not a release note.
If you want a single release note for the whole umbrella, maybe you can create a new sub-task under JDK-8177680 that is not restricted to the Policy class.