On Mon, 25 Nov 2024 21:23:14 GMT, Phil Race <[email protected]> wrote:

> More clean up after JEP 486 (SecurityManager disabling).
> FilePermission is the most common RuntimePermission checked in java.desktop

One test still uses runtime permission:


./test/jdk/java/awt/print/PrinterJob/PrintToDir.java:129:                
security.checkPermission(new FilePermission("<<ALL FILES>>", "read,write"));
./test/jdk/java/awt/print/PrinterJob/PrintToDir.java:130:                
security.checkPermission(new PropertyPermission("user.dir", "read"));

-------------

Marked as reviewed by azvegint (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22373#pullrequestreview-2460273856

Reply via email to