Skip to content

Commit e7c5a8c

Browse files
committed
Reapply "JBR-5497: change the default value for the system property "awt.mac.flushBuffers.invokeLater" to 'enabled' to avoid any potential freeze (safe) until a better solution"
This reverts commit 50be626.
1 parent 4ae05b2 commit e7c5a8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/java.desktop/macosx/classes/sun/lwawt/macosx/CPlatformWindow.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -1192,8 +1192,8 @@ private static int getInvokeLaterMode() {
11921192
new GetPropertyAction(invokeLaterKey));
11931193
final int result;
11941194
if (invokeLaterArg == null) {
1195-
// default = 'auto':
1196-
result = INVOKE_LATER_AUTO;
1195+
// default = 'enabled' to avoid any potential freeze (safe) until better solution:
1196+
result = INVOKE_LATER_ENABLED;
11971197
} else {
11981198
switch (invokeLaterArg.toLowerCase()) {
11991199
default:

0 commit comments

Comments
 (0)