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

This is outside the scope of this PR, but I took a look at what else can be 
done regarding SecurityManager removal in files affected by this PR:

----
`src/java.desktop/share/classes/java/awt/Font#hasTempPermission` already has an 
issue [JDK-8344146
](https://bugs.openjdk.org/browse/JDK-8344146)

---

I couldn't find JBS issues for the following two:

---
`src/java.desktop/macosx/classes/com/apple/eawt/Application.java` methods:

- setFileTypeAndCreator
- setFileType
- setFileCreato
- getFileType
- getFileCreator
- moveToTrash
- revealInFinder

---
`src/java.desktop/share/classes/sun/print/PrintJob2D.java#initPrintJob2D`

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

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

Reply via email to