mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 06:45:07 +02:00
8296143: CertAttrSet's set/get mechanism is not type-safe
Reviewed-by: mullan
This commit is contained in:
parent
d04d6566b0
commit
671f84bd86
66 changed files with 643 additions and 2902 deletions
|
@ -1,5 +1,5 @@
|
|||
/*
|
||||
* Copyright (c) 2000, 2021, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2000, 2022, 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
|
||||
|
@ -323,7 +323,7 @@ public class X509CRLSelector implements CRLSelector {
|
|||
else
|
||||
namesCopy.add(nameObject);
|
||||
}
|
||||
return(namesCopy);
|
||||
return namesCopy;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -630,7 +630,7 @@ public class X509CRLSelector implements CRLSelector {
|
|||
byte[] encoded = in.getOctetString();
|
||||
CRLNumberExtension crlNumExt =
|
||||
new CRLNumberExtension(Boolean.FALSE, encoded);
|
||||
crlNum = crlNumExt.get(CRLNumberExtension.NUMBER);
|
||||
crlNum = crlNumExt.getCrlNumber();
|
||||
} catch (IOException ex) {
|
||||
if (debug != null) {
|
||||
debug.println("X509CRLSelector.match: exception in "
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue