Skip to content

Commit f143380

Browse files
blperez01seanjmullan
authored andcommittedAug 16, 2023
8314240: test/jdk/sun/security/pkcs/pkcs7/SignerOrder.java fails to compile
Reviewed-by: mullan
1 parent 6b396da commit f143380

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed
 

‎test/jdk/ProblemList.txt

-1
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,6 @@ sun/security/pkcs11/rsa/TestSignatures.java 8295343 linux-al
607607
sun/security/pkcs11/rsa/TestKeyPairGenerator.java 8295343 linux-all
608608
sun/security/pkcs11/rsa/TestKeyFactory.java 8295343 linux-all
609609
sun/security/pkcs11/KeyStore/Basic.java 8295343 linux-all
610-
sun/security/pkcs/pkcs7/SignerOrder.java 8314240 generic-all
611610

612611
############################################################################
613612

‎test/jdk/sun/security/pkcs/pkcs7/SignerOrder.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2015, 2022, Oracle and/or its affiliates. All rights reserved.
2+
* Copyright (c) 2015, 2023, Oracle and/or its affiliates. All rights reserved.
33
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44
*
55
* This code is free software; you can redistribute it and/or modify it
@@ -102,10 +102,10 @@ public static void main(String[] argv) throws Exception {
102102
printSignerInfos(pkcs72.getSignerInfos());
103103

104104
System.out.println("Verified signers of original:");
105-
SignerInfo[] verifs1 = pkcs71.verify();
105+
SignerInfo[] verifs1 = pkcs71.verify(null);
106106

107107
System.out.println("Verified signers of after read-in:");
108-
SignerInfo[] verifs2 = pkcs72.verify();
108+
SignerInfo[] verifs2 = pkcs72.verify(null);
109109

110110
if (verifs1.length != verifs2.length) {
111111
throw new RuntimeException("Length or Original vs read-in "

0 commit comments

Comments
 (0)
Please sign in to comment.