RFR: 8344994: Remove most uses of RuntimePermission checks in java.desktop

Phil Race prr at openjdk.org
Tue Nov 26 07:13:41 UTC 2024


On Tue, 26 Nov 2024 04:37:10 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:

> 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"));
> ```

Keep grepping. I'll also do a grep over the various client test directories soon.

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

PR Comment: https://git.openjdk.org/jdk/pull/22373#issuecomment-2499828801


More information about the client-libs-dev mailing list