From f143380d013b8c0e5ab7ca0026c34e27e7946f69 Mon Sep 17 00:00:00 2001 From: Ben Perez Date: Wed, 16 Aug 2023 19:56:13 +0000 Subject: [PATCH] 8314240: test/jdk/sun/security/pkcs/pkcs7/SignerOrder.java fails to compile Reviewed-by: mullan --- test/jdk/ProblemList.txt | 1 - test/jdk/sun/security/pkcs/pkcs7/SignerOrder.java | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/test/jdk/ProblemList.txt b/test/jdk/ProblemList.txt index 2de1708174e..24655fcb8c0 100644 --- a/test/jdk/ProblemList.txt +++ b/test/jdk/ProblemList.txt @@ -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 ############################################################################ diff --git a/test/jdk/sun/security/pkcs/pkcs7/SignerOrder.java b/test/jdk/sun/security/pkcs/pkcs7/SignerOrder.java index 705ad88c131..30f9392cfde 100644 --- a/test/jdk/sun/security/pkcs/pkcs7/SignerOrder.java +++ b/test/jdk/sun/security/pkcs/pkcs7/SignerOrder.java @@ -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 "