On Thu, 22 May 2025 19:30:44 GMT, Koushik Muthukrishnan Thirupattur 
<d...@openjdk.org> wrote:

> The class documentation in javax.crypto.Cipher could better describe AEAD and 
> reuse. The current class description example is outdated as GCM encryption 
> does not allow resets. The doc should state that reset() may not be possible 
> with some algorithms or providers and that an 
> InvalidAlgorithmParameterException is thrown

This pull request has now been integrated.

Changeset: 48ba9d41
Author:    Koushik Thirupattur <koushik.thirupat...@oracle.com>
Committer: Anthony Scarpino <ascarp...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/48ba9d415f64b55fed2e0ae2f7e3f50b7d8c82f6
Stats:     106 lines in 1 file changed: 0 ins; 87 del; 19 mod

8349946: Cipher javadoc could describe AEAD reuse better

Reviewed-by: ascarpino

-------------

PR: https://git.openjdk.org/jdk/pull/25399

Reply via email to