<AWT Dev> [10] Review Request: 8195852 The usage of permissions in Desktop API should be clarified

Sergey Bylokhov Sergey.Bylokhov at oracle.com
Mon Jan 29 20:22:39 UTC 2018


Hello.

Please review the fix for jdk10.

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.

Bug: https://bugs.openjdk.java.net/browse/JDK-8195852
CSR: https://bugs.openjdk.java.net/browse/JDK-8195853

Spec change:
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 {


-- 
Best regards, Sergey.


More information about the awt-dev mailing list