RFR: 8342997: Remove use of System::getSecurityManager and SecurityManager [v3]

Kevin Rushforth kcr at openjdk.org
Wed Nov 13 13:44:41 UTC 2024


On Tue, 12 Nov 2024 14:45:35 GMT, Kevin Rushforth <kcr at openjdk.org> wrote:

>> modules/javafx.graphics/src/main/java/javafx/scene/input/Dragboard.java line 52:
>> 
>>> 50:     @Override
>>> 51:     Object getContentImpl(DataFormat dataFormat) {
>>> 52:         if (dataAccessRestricted) {
>> 
>> this method can be deleted here
>
> What method? Not `getContentImpl`, since that's the primary method to retrieve the content and is still used and needed.

Oh, I see what you mean now. You mean that `Dragboard` no longer needs to override this method, since all it does now is call `super`. I'll remove it.

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1631#discussion_r1840301009


More information about the openjfx-dev mailing list