On Sat, 10 Oct 2020 11:19:05 GMT, Sergey Bylokhov <s...@openjdk.org> wrote:
> This test tries to run an external application to make itself non-active and > then sets and checks the global menu. > > But it has a few issues: > - As an external app, the "System Settings" app is used, but it looks like > in macOS Catalina this app was moved, and > nothing actually starts > - The external app is closed via osascript which required special > permission, and it is requested via a modal dialog if > not granted already > - It looks like the attempt to close(already closed app, since the open step > failed) the "System Settings" via osascript > actually activates it instead > > So to prevent one more permission, and usage of some external app I just use > the same java test as an external app but > in a separate process. I have checked that the test fails if the fix for > JDK-8146310 is removed. This pull request has now been integrated. Changeset: e66c6bb9 Author: Sergey Bylokhov <s...@openjdk.org> URL: https://git.openjdk.java.net/jdk/commit/e66c6bb9 Stats: 37 lines in 1 file changed: 18 ins; 5 del; 14 mod 8254349: The TestNoScreenMenuBar test should be updated Reviewed-by: pbansal ------------- PR: https://git.openjdk.java.net/jdk/pull/587