8167523: JDK 9 build failure on MacOS due to unhandled cases in switch statement

Reviewed-by: serb
This commit is contained in:
Phil Race 2016-10-11 16:15:18 -07:00
parent e4ed1ab3d7
commit c8971d64f4

View File

@ -93,8 +93,8 @@ static long eventCount;
case NSEventPhaseBegan: return SCROLL_PHASE_BEGAN;
case NSEventPhaseCancelled: return SCROLL_PHASE_CANCELLED;
case NSEventPhaseEnded: return SCROLL_PHASE_ENDED;
default: return SCROLL_PHASE_CONTINUED;
}
return SCROLL_PHASE_CONTINUED;
}
@end