8314240: test/jdk/sun/security/pkcs/pkcs7/SignerOrder.java fails to compile

Reviewed-by: mullan
This commit is contained in:
Ben Perez 2023-08-16 19:56:13 +00:00 committed by Sean Mullan
parent 6b396da278
commit f143380d01
2 changed files with 3 additions and 4 deletions

View File

@ -607,7 +607,6 @@ sun/security/pkcs11/rsa/TestSignatures.java 8295343 linux-al
sun/security/pkcs11/rsa/TestKeyPairGenerator.java 8295343 linux-all
sun/security/pkcs11/rsa/TestKeyFactory.java 8295343 linux-all
sun/security/pkcs11/KeyStore/Basic.java 8295343 linux-all
sun/security/pkcs/pkcs7/SignerOrder.java 8314240 generic-all
############################################################################

View File

@ -1,5 +1,5 @@
/*
* Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@ -102,10 +102,10 @@ public class SignerOrder {
printSignerInfos(pkcs72.getSignerInfos());
System.out.println("Verified signers of original:");
SignerInfo[] verifs1 = pkcs71.verify();
SignerInfo[] verifs1 = pkcs71.verify(null);
System.out.println("Verified signers of after read-in:");
SignerInfo[] verifs2 = pkcs72.verify();
SignerInfo[] verifs2 = pkcs72.verify(null);
if (verifs1.length != verifs2.length) {
throw new RuntimeException("Length or Original vs read-in "