-
CSR
-
Resolution: Approved
-
P2
-
None
-
minimal
-
Java API
-
SE
Summary
The Desktop API uses a number of permissions which were changed a few times, but the strict list of permissions is described in the specification. Until the full list of permissions will be clarified the spec should be relaxed.
Problem
The specification is too strict.
Solution
Add a notification about permissions to the header of the class.
Specification
src/java.desktop/share/classes/java/awt/Desktop.java
+ * <p> Note: the methods in the {@code Desktop} class may require
+ * platform-dependent permissions in addition to those described in the
+ * specification.
+ *
....
public class Desktop {
- csr of
-
JDK-8195852 The usage of permissions in Desktop API should be clarified
- Resolved