mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-18 10:04:42 +02:00
8193435: Remove pre-1.2 SecurityManager text from java.awt.Toolkit
Reviewed-by: serb, mullan
This commit is contained in:
parent
2a8c7a915a
commit
384238b493
3 changed files with 4 additions and 44 deletions
|
@ -678,11 +678,6 @@ public abstract class Toolkit {
|
|||
* If the connection to the specified URL requires
|
||||
* either {@code URLPermission} or {@code SocketPermission},
|
||||
* then {@code URLPermission} is used for security checks.
|
||||
* For compatibility with pre-1.2 security managers, if the access
|
||||
* is denied with {@code FilePermission} or {@code SocketPermission},
|
||||
* the method throws the {@code SecurityException}
|
||||
* if the corresponding 1.1-style SecurityManager.checkXXX method
|
||||
* also denies permission.
|
||||
* @param url the URL to use in fetching the pixel data.
|
||||
* @return an image which gets its pixel data from
|
||||
* the specified URL.
|
||||
|
@ -724,11 +719,6 @@ public abstract class Toolkit {
|
|||
* If the connection to the specified URL requires
|
||||
* either {@code URLPermission} or {@code SocketPermission},
|
||||
* then {@code URLPermission} is used for security checks.
|
||||
* For compatibility with pre-1.2 security managers, if the access
|
||||
* is denied with {@code FilePermission} or {@code SocketPermission},
|
||||
* the method throws {@code SecurityException}
|
||||
* if the corresponding 1.1-style SecurityManager.checkXXX method
|
||||
* also denies permission.
|
||||
* @param url the URL to use in fetching the pixel data.
|
||||
* @return an image which gets its pixel data from
|
||||
* the specified URL.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue