8195852: The usage of permissions in Desktop API should be clarified jdk-10+42
authorserb
Tue, 30 Jan 2018 19:13:26 -0800
changeset 48715 4b62b815b4f4
parent 48714 edd2ac895ae1
child 48716 55272cc70514
8195852: The usage of permissions in Desktop API should be clarified Reviewed-by: prr
src/java.desktop/share/classes/java/awt/Desktop.java
--- 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