JDK-8294526 : sun/security/provider/SubjectCodeSource.java no longer referenced
  • Type: Bug
  • Component: security-libs
  • Sub-Component: java.security
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-09-28
  • Updated: 2023-01-09
  • Resolved: 2023-01-03
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 21
21 b04Fixed
Related Reports
Relates :  
Description
https://github.com/openjdk/jdk/blob/master/src/java.base/share/classes/sun/security/provider/SubjectCodeSource.java

no longer used since JDK-8191139 

suggest that it's removed along with the class reference in our test base.
Comments
Changeset: 92dfc735 Author: Ryan Wallace <ryan.w.wallace@oracle.com> Committer: Weijun Wang <weijun@openjdk.org> Date: 2023-01-03 13:52:47 +0000 URL: https://git.openjdk.org/jdk/commit/92dfc735f2297441a99b3e39464fb8f77a354d55
03-01-2023

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/10550 Date: 2022-10-04 08:25:10 +0000
08-11-2022

Yes we can remove this file. Note that the file name appears in a summary of a test at test/jdk/sun/security/provider/PolicyFile/Comparator.java. The test is still useful because the same type check is also in sun/security/provider/PolicyFile.java.
29-09-2022