8305963: Typo in java.security.Security.getProperty
Co-authored-by: Sean Coffey <coffeys@openjdk.org> Reviewed-by: coffeys, wetmore
This commit is contained in:
parent
dcb2f3f502
commit
db8b3cd084
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 1996, 2022, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 1996, 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
|
||||
@ -702,14 +702,15 @@ public final class Security {
|
||||
*
|
||||
* @param key the key of the property being retrieved.
|
||||
*
|
||||
* @return the value of the security property corresponding to key.
|
||||
* @return the value of the security property, or {@code null} if there
|
||||
* is no property with that key.
|
||||
*
|
||||
* @throws SecurityException
|
||||
* if a security manager exists and its {@link
|
||||
* java.lang.SecurityManager#checkPermission} method
|
||||
* denies
|
||||
* access to retrieve the specified security property value
|
||||
* @throws NullPointerException is key is {@code null}
|
||||
* @throws NullPointerException if key is {@code null}
|
||||
*
|
||||
* @see #setProperty
|
||||
* @see java.security.SecurityPermission
|
||||
|
Loading…
x
Reference in New Issue
Block a user