8284893: Fix typos in java.base

Reviewed-by: iris, wetmore, lancea, mullan, naoto
This commit is contained in:
Magnus Ihse Bursie 2022-04-19 20:07:57 +00:00
parent 4594696f54
commit fb469fb894
162 changed files with 369 additions and 369 deletions

View file

@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2021, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 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
@ -45,7 +45,7 @@ import sun.security.util.*;
* or are derived from some Certificate Authority's DSS certificate, is
* not supported directly. The application is responsible for creating a key
* containing the required parameters prior to using the key in cryptographic
* operations. The follwoing is an example of how this may be done assuming
* operations. The following is an example of how this may be done assuming
* that we have a certificate called <code>currentCert</code> which doesn't
* contain DSS/DSA parameters and we need to derive DSS/DSA parameters
* from a CA's certificate called <code>caCert</code>.

View file

@ -73,7 +73,7 @@ public class AlgorithmId implements Serializable, DerEncoder {
/**
* Parameters for this algorithm. These are stored in unparsed
* DER-encoded form; subclasses can be made to automaticaly parse
* DER-encoded form; subclasses can be made to automatically parse
* them so there is fast access to these parameters.
*/
protected transient byte[] encodedParams;

View file

@ -969,7 +969,7 @@ public class X509CertImpl extends X509Certificate implements DerEncoder {
}
/**
* Gets the DER encoded certificate informations, the
* Gets the DER encoded certificate information, the
* <code>tbsCertificate</code> from this certificate.
* This can be used to verify the signature independently.
*
@ -1771,7 +1771,7 @@ public class X509CertImpl extends X509Certificate implements DerEncoder {
/************************************************************/
/*
* Cert is a SIGNED ASN.1 macro, a three elment sequence:
* Cert is a SIGNED ASN.1 macro, a three element sequence:
*
* - Data to be signed (ToBeSigned) -- the "raw" cert
* - Signature algorithm (SigAlgId)