On Tue, 12 Oct 2021 17:04:27 GMT, Fernando Guallini <[email protected]>
wrote:
> This patch improves code coverage on the following classes:
> -
> com.sun.org.apache.xml.internal.security.algorithms.implementations.IntegrityHmac
> - com.sun.org.apache.xml.internal.security.utils.ElementProxy
> - com.sun.org.apache.xml.internal.security.keys.KeyInfo
>
> The new tests exercise code blocks that are not currently covered by other
> tests.
test/jdk/com/sun/org/apache/xml/internal/security/SignatureKeyInfo.java line
117:
> 115: doc.getElementsByTagNameNS(NS, "Signature");
> 116: if (nl.getLength() == 0) {
> 117: throw new Exception("Could not find signature Element");
update this to RuntimeException
-------------
PR: https://git.openjdk.java.net/jdk/pull/5913