JDK-8325162 : Remove duplicate GCMParameters class
  • Type: Enhancement
  • Component: security-libs
  • Sub-Component: javax.crypto
  • Affected Version: 8,11,17,21,23
  • Priority: P4
  • Status: New
  • Resolution: Unresolved
  • Submitted: 2024-02-02
  • Updated: 2024-02-12
Related Reports
Relates :  
Description
Currently we have 2 GCMParameters classes in java.base, one in sun.security.util package, the other in com.sun.crypto.provider.

The duplicate class was introduced in JDK-8080462. One of the classes is used by SunPKCS11, the other is used by SunJCE. The implementations are almost identical. Can we drop one?
Comments
A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/17802 Date: 2024-02-12 08:34:24 +0000
12-02-2024