mirror of
https://github.com/openjdk/jdk.git
synced 2026-01-28 12:09:14 +00:00
8370688: Updated the documentation to describe the behavior using @implSpec
This commit is contained in:
parent
3abe2ff595
commit
548af3e6e2
@ -114,9 +114,10 @@ public class JarEntry extends ZipEntry {
|
|||||||
* validate each signer's certificate chain, and determining whether
|
* validate each signer's certificate chain, and determining whether
|
||||||
* to trust the entry signed by the signers.
|
* to trust the entry signed by the signers.
|
||||||
*
|
*
|
||||||
* @return the {@code Certificate} objects for this entry, or
|
* @implSpec If non-null, this implementation returns a new array each time
|
||||||
* {@code null} if none. If non-null, returns a new array
|
* this method is invoked.
|
||||||
* each time it is invoked.
|
*
|
||||||
|
* @return the {@code Certificate} objects for this entry, or {@code null} if none.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public Certificate[] getCertificates() {
|
public Certificate[] getCertificates() {
|
||||||
@ -140,9 +141,10 @@ public class JarEntry extends ZipEntry {
|
|||||||
* validate each signer's certificate chain, and determining whether
|
* validate each signer's certificate chain, and determining whether
|
||||||
* to trust the entry signed by the signers.
|
* to trust the entry signed by the signers.
|
||||||
*
|
*
|
||||||
* @return the {@code CodeSigner} objects for this entry, or
|
* @implSpec If non-null, this implementation returns a new array each time
|
||||||
* {@code null} if none. If non-null, returns a new array
|
* this method is invoked.
|
||||||
* each time it is invoked.
|
*
|
||||||
|
* @return the {@code CodeSigner} objects for this entry, or {@code null} if none.
|
||||||
*
|
*
|
||||||
* @since 1.5
|
* @since 1.5
|
||||||
*/
|
*/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user