Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8256465: [macos] Java frame and dialog presented full screen freeze application #3407

Closed
wants to merge 13 commits into from
@@ -127,7 +127,8 @@ private static native void nativeSetNSWindowStandardFrame(long nsWindowPtr,
public static final String WINDOW_TRANSPARENT_TITLE_BAR = "apple.awt.transparentTitleBar";
public static final String WINDOW_TITLE_VISIBLE = "apple.awt.windowTitleVisible";

// This system property is used in javafx as well
// This system property is named as jdk.* because it is not specific to AWT
// and it is also used in JavaFX
public static final String MAC_OS_TABBED_WINDOW = AccessController.doPrivileged(
This conversation was marked as resolved by kevinrushforth

This comment has been minimized.

@kevinrushforth

kevinrushforth Jun 3, 2021
Member

Now that the fix for JEP 411 (security manager deprecation) is integrated, you will need to add the following annotation to this field, else it will fail to compile:

    @SuppressWarnings("removal")
new GetPropertyAction("jdk.allowMacOSTabbedWindows"));