RFR: 8284047: Harmonize/Standardize the SSLSocket/SSLEngine/SSLSocketSSLEngine test templates
Rajan Halade
rhalade at openjdk.org
Thu Feb 16 18:29:28 UTC 2023
On Tue, 14 Feb 2023 12:17:39 GMT, Matthew Donovan <duke at openjdk.org> wrote:
> * Refactored SSLContextTemplate and SSLSocketTemplate to put common code in one base class (SSLContextTemplate)
> * Updated TLS/SSL tests to extend SSLSocketTemplate where possible.
> * Updated SSLEngineTemplate to accommodate changes in SSLContextTemplate. To keep this changeset to a reasonable size, updates to SSLEngine tests will be made under JDK-8301194.
test/jdk/javax/net/ssl/templates/SSLSocketSSLEngineTemplate.java line 2:
> 1: /*
> 2: * Copyright (c) 2011, 2023, Oracle and/or its affiliates. All rights reserved.
Can you please check test `sun/security/ssl/SSLEngineImpl/SSLEngineBadBufferArrayAccess.java` as this template test was a copy of it? Suggest you to check if this template copy can be removed now as we have other template classes for SSLSocket/SSLEngine client and server.
-------------
PR: https://git.openjdk.org/jdk/pull/12555
More information about the security-dev
mailing list