[jdk11u-dev] RFR: 8349583: Add mechanism to disable signature schemes based on their TLS scope [v4]
Antonio Vieiro
avieiro at openjdk.org
Mon Feb 23 15:09:11 UTC 2026
On Wed, 18 Feb 2026 18:50:17 GMT, Andrew John Hughes <andrew at openjdk.org> wrote:
> * Neither `SSLEngineTemplate.java` nor `SigAlgosExtTestWithTLS12.java` where it is moved from are appropriate homes for the `ByteBuffer.slice` clone. This should be moved to the test library. under `test/jdk/lib/testlibrary`. I don't see an obvious generic home there yet, so I would suggest adding a `Utils.java`. Other non-SSL test code may need this in future backports.
Note that by moving `ByteBuffer.slice` to a `Utils.java` (currently under `/test/lib`) the side effect is that tests that extend `SSLEngineTemplate` must add the following JTReg stanza:
* @library /test/lib
* @build jdk.test.lib.Utils
```
To be able to compile classes that `extend SSLEngineTemplate`, even though the test doesn't use the `slice` method, e.g. `test/jdk/javax/net/ssl/ALPN/SSLEngineAlpnTest.java`.
-------------
PR Comment: https://git.openjdk.org/jdk11u-dev/pull/3130#issuecomment-3945303813
More information about the jdk-updates-dev
mailing list