mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-110142 Invoking "invalidate caches' from welcome screen crashes IDE (on mac + java 6)
This commit is contained in:
@@ -74,7 +74,7 @@ public class MacMessagesImpl extends MacMessages {
|
||||
ID buttons = invoke(params, "objectAtIndex:", 8);
|
||||
ID doNotAskChecked = invoke(params, "objectAtIndex:", 9);
|
||||
|
||||
ID alert = invoke(invoke(invoke("NSAlert", "alloc"), "init"), "autorelease");
|
||||
ID alert = invoke(invoke("NSAlert", "alloc"), "init");
|
||||
|
||||
invoke(alert, "setMessageText:", title);
|
||||
invoke(alert, "setInformativeText:", message);
|
||||
@@ -114,6 +114,7 @@ public class MacMessagesImpl extends MacMessages {
|
||||
|
||||
invoke(alert, "beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo:", focusedWindow, self,
|
||||
createSelector("alertDidEnd:returnCode:contextInfo:"), focusedWindow);
|
||||
cfRelease(alert);
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user