8167523: JDK 9 build failure on MacOS due to unhandled cases in switch statement
Reviewed-by: serb
--- a/jdk/src/java.desktop/macosx/native/libawt_lwawt/awt/LWCToolkit.m Mon Oct 10 14:35:20 2016 -0700
+++ b/jdk/src/java.desktop/macosx/native/libawt_lwawt/awt/LWCToolkit.m Tue Oct 11 16:15:18 2016 -0700
@@ -93,8 +93,8 @@
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