RFR: 8344994: Remove most uses of RuntimePermission checks in java.desktop
Phil Race
prr at openjdk.org
Tue Nov 26 07:07:47 UTC 2024
On Tue, 26 Nov 2024 04:50:31 GMT, Alexander Zvegintsev <azvegint at openjdk.org> wrote:
> 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`
I know that there's some things some in some of the files here but I was trying to deal with cases for this, not files, although I was very tempted ..
However the point is, not forgotten, not overlooked, and next on the list.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22373#issuecomment-2499819348
More information about the client-libs-dev
mailing list