RFR: 8338411: Implement JEP 486: Permanently Disable the Security Manager [v3]
Harshitha Onkar
honkar at openjdk.org
Fri Oct 25 18:36:39 UTC 2024
On Fri, 25 Oct 2024 17:52:59 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> This particular test was failing on windows & linux after SM removal. There is a functional issue and for that reason I think it is better to retain this test. Details documented here - [JDK-8342012](https://bugs.openjdk.org/browse/JDK-8342012)
>
> The updated test `bug6694823.java` works correctly on Windows and displays its popup over the Windows taskbar — it is expected.
>
> The popup had to be moved if the security manager didn't allow to call `setAlwaysOnTop(true)`.
>
>> There is a functional issue and for that reason I think it is better to retain this test. Details documented here - [JDK-8342012](https://bugs.openjdk.org/browse/JDK-8342012)
>
> There's no functional issue. The `bug6694823.java` test was designed to pass **with the security manager**.
>
> The `bug6694823.java` test fails without the security manager because the conditions don't hold any more.
@aivanov-jdk
On macOS, popup is shifted up and does not cover the taskbar even without SM.
> The updated test bug6694823.java works correctly on Windows and displays its popup over the Windows taskbar — it is expected.
> Popup menus in stand-alone apps have their always-on-top flag set to true, therefore they can be displayed on top of the taskbar.
On native applications (eg. Word), popup menus don't overlap taskbar when clicked close to taskbar so do we consider this as expected behavior or the way it works currently (overlaps the taskbar)?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/21498#discussion_r1817183611
More information about the build-dev
mailing list