Details
-
Enhancement
-
Resolution: Fixed
-
P3
-
None
-
b11
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8309876 | 11.0.21 | Goetz Lindenmaier | P3 | Resolved | Fixed | b01 |
Description
For historic reason, ObjectIdentifier are used to constructed with int array. In the constructor implementation, the int array is converted to the OID encoded format (See ObjectIdentifier(int[] values)). In the calling side, in order to use the constructor, the int array is often declared as static final variables, for constructing a ObjectIdentifier instance, which is normally static as well. The implementation and the use of the constructor are not performance friendly, and the code is not clear as well.
Removing this constructor could have the code more clear, and improve the performance.
Removing this constructor could have the code more clear, and improve the performance.
Attachments
Issue Links
- backported by
-
JDK-8309876 Clearup the legacy ObjectIdentifier constructor from int array
- Resolved
- blocks
-
JDK-8239094 PKCS#9 ChallengePassword attribute does not allow for the UTF8String type
- Closed
- relates to
-
JDK-8240193 loadLibrary("osxsecurity") should not be removed
- Closed