Bug 527955: With Java 1.8.0_152 the splash screen on macOS prevents the
resulting main client shell from being activated and swallows any
user-events (key & mouse events) from being handled correctly.

Use NSAnyEventMask instead of 0 in NSApplication.nextEventMatchingMask

Change-Id: I0e956d19ac0f3d39ae939f3f12be33a8cd3d331d
Signed-off-by: Lakshmi Shanmugam <lshanmug@in.ibm.com>
diff --git a/features/org.eclipse.equinox.executable.feature/library/cocoa/eclipseCocoa.c b/features/org.eclipse.equinox.executable.feature/library/cocoa/eclipseCocoa.c
index 6e6215d..deba3ef 100644
--- a/features/org.eclipse.equinox.executable.feature/library/cocoa/eclipseCocoa.c
+++ b/features/org.eclipse.equinox.executable.feature/library/cocoa/eclipseCocoa.c
@@ -140,7 +140,7 @@
 	NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
 	NSEvent* event;
 	NSApplication* application = [NSApplication sharedApplication];
-	while ((event = [application nextEventMatchingMask: 0 untilDate: nil inMode: NSDefaultRunLoopMode dequeue: TRUE]) != nil) {
+	while ((event = [application nextEventMatchingMask: NSAnyEventMask untilDate: nil inMode: NSDefaultRunLoopMode dequeue: TRUE]) != nil) {
 		[application sendEvent: event];
 	}
 	[pool release];