--- old/src/java.desktop/macosx/native/libosxapp/NSApplicationAWT.m 2016-09-14 17:57:22.000000000 +0300 +++ new/src/java.desktop/macosx/native/libosxapp/NSApplicationAWT.m 2016-09-14 17:57:22.000000000 +0300 @@ -376,7 +376,6 @@ { void (^copy)() = [block copy]; NSInteger encode = (NSInteger) copy; - [copy retain]; NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init]; NSEvent* event = [NSEvent otherEventWithType: NSApplicationDefined location: NSMakePoint(0,0)