On Tue, 14 Apr 2026 17:10:46 GMT, Mark Powers <[email protected]> wrote:
> [JDK-8378443](https://bugs.openjdk.org/browse/JDK-8378443) > > --------- > - [ x] I confirm that I make this contribution in accordance with the > [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai). > > --------- > - [x] I confirm that I make this contribution in accordance with the [OpenJDK > Interim AI Policy](https://openjdk.org/legal/ai). test/jdk/sun/security/provider/acvp/LMS_Test.java line 57: > 55: public byte[] getEncoded() { return toByteArray( > 56: "00000001" + t.get("publicKey").asString()); } > 57: }; Why is it worth creating this key? All you need below is `pk.getEncoded()` and you can just move the `toByteArray` call there. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/30724#discussion_r3103018204
