JDK-6995421 : Eliminate the static dependency to sun.security.ec.ECKeyFactory
Type:Bug
Component:security-libs
Sub-Component:java.security
Affected Version:8
Priority:P4
Status:Closed
Resolution:Fixed
OS:generic
CPU:generic
Submitted:2010-10-27
Updated:2017-02-22
Resolved:2012-09-11
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.
sun.security.x509.AlgorithmId -> sun.security.ec.ECKeyFactory
SunEC provider is added in JDK 7 and this hard dependency is no longer needed. Hence this dependency should be removed.
Comments
SUGGESTED FIX
The public KeyFactory API should be used to obtain an ECKeyFactory.
25-08-2012
EVALUATION
A Sun internal provider was being used to obtain an EC KeyFactory, since a public provider id not exist. However a public provider for the EC KeyFactory now exists.