RFR: 8344443: Deprecate FXPermission for removal

Kevin Rushforth kcr at openjdk.org
Mon Nov 18 19:56:12 UTC 2024


On Mon, 18 Nov 2024 19:13:24 GMT, Andy Goryachev <angorya at openjdk.org> wrote:

>> This PR deprecates the FXPermission class for removal. The intent is to deprecate it in 24 and remove it in 26.
>> 
>> This class no longer does anything. Now that we have finished the post-SM removal cleanup, there are no remaining references FXPermission in JavaFX.
>
> modules/javafx.base/src/main/java/javafx/util/FXPermission.java line 48:
> 
>> 46:  *
>> 47:  * @deprecated This class was only useful in connection with the
>> 48:  *       Security Manager, which is no longer supported.
> 
> should it be SecurityManager (as in class name)?

No, this refers to "the Security Manager" as a feature, which is more than the `SecurityManager` class. See https://openjdk.org/jeps/486.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1643#discussion_r1847166090


More information about the openjfx-dev mailing list