On Mon, 25 Nov 2024 18:35:53 GMT, Phil Race <[email protected]> wrote:

>> This removes the SecurityManager related checks for clipboard access  and 
>> methods which exist solely to support that.
>> 
>> One interesting thing is that there are two places where a method 
>> "canAccessSystemClipboard()"  was not only about the SM. 
>> In SwingUtilities and InputEvent it would return false in headless mode, 
>> regardless of whether there is an SM.
>> This means I have left the methods in place, behaving the same as before in 
>> headless mode.
>> We may be able to further simplify this later  but it will be clearer with 
>> the SM-only logic removed and out of scope for this fix.
>
> Phil Race has updated the pull request incrementally with one additional 
> commit since the last revision:
> 
>   8344896

> I had listed these bugs in https://bugs.openjdk.org/browse/JDK-8344654 for 
> @honkar-jdk to update.
I will check with her if she will get to these soon, otherwise I can address 
them here.

Good to know, I guess we can leave them for the JDK-8344654 then.

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

Marked as reviewed by azvegint (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22356#pullrequestreview-2459382722

Reply via email to