RFR: 8275811 Incorrect instance to dispose [v4]

Daniel Jeliński duke at openjdk.java.net
Mon Nov 1 20:38:33 UTC 2021


On Mon, 1 Nov 2021 19:49:32 GMT, Xue-Lei Andrew Fan <xuelei at openjdk.org> wrote:

>> Daniel Jeliński has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Dispose write cipher after changing ciphers
>
> src/java.base/share/classes/sun/security/ssl/OutputRecord.java line 146:
> 
>> 144:     // SSLEngine and SSLSocket
>> 145:     abstract void disposeWriteCipher();
>> 146: 
> 
> Alternatively, this method could have a default implementation that throws UnsupportedOperationException.  Then, there is no need to update DTLSOutputRecord.java.

I like that idea. Updated the PR.

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

PR: https://git.openjdk.java.net/jdk/pull/6084



More information about the security-dev mailing list