<div dir="ltr"><br><div>Hi,</div><div><br></div><div>While reviewing the JarWithOneNonDisabledDigestAlg test, I found that the code could perhaps be easier to follow if some updates would be made in the choice of keystore naming and choice of algorithms. </div><div><br></div><div>I also found potential for some more general code cleanups, and also a way to move expectations of signing counts out of checkThatJarIsSigned method.</div><div><br></div><div>Knowing well that this fixes no bug, I wanted to hear what people think about the usefulness of such changes before I go the JBS route with a proper PR.</div><div><br></div><div>Here's a draft PR with my proposed changes:</div><div><br></div><div><a href="https://github.com/openjdk/jdk/pull/11997">https://github.com/openjdk/jdk/pull/11997</a><br></div><div><br></div><div>Cheers,</div><div>Eirik.</div><div><br></div><div><br></div><div><br></div><div><br></div></div>