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.

To download the current JDK release, click here.
JDK 11
11 b04Fixed
Related Reports
CSR :  
Relates :  
Relates :  
Description
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
28-09-2022

URL: http://hg.openjdk.java.net/jdk/jdk/rev/a4a816f88e58 User: weijun Date: 2018-03-08 04:27:37 +0000
08-03-2018

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.
20-01-2018