changeset 48715:4b62b815b4f4 jdk-10+42

8195852: The usage of permissions in Desktop API should be clarified Reviewed-by: prr
author serb
date Tue, 30 Jan 2018 19:13:26 -0800
parents edd2ac895ae1
children 55272cc70514
files src/java.desktop/share/classes/java/awt/Desktop.java
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/java.desktop/share/classes/java/awt/Desktop.java	Fri Jan 26 16:38:21 2018 +0000
+++ b/src/java.desktop/share/classes/java/awt/Desktop.java	Tue Jan 30 19:13:26 2018 -0800
@@ -83,6 +83,10 @@
  * application is executed, it will be executed on the same system as
  * the one on which the Java application was launched.
  *
+ * <p> Note: the methods in the {@code Desktop} class may require
+ * platform-dependent permissions in addition to those described in the
+ * specification.
+ *
  * @see Action
  *
  * @since 1.6