--- old/src/share/classes/java/awt/dnd/DragSourceContext.java 2014-04-09 19:41:33.000000000 -0700 +++ new/src/share/classes/java/awt/dnd/DragSourceContext.java 2014-04-09 19:41:33.000000000 -0700 @@ -472,7 +472,7 @@ * ENTER, OVER, * CHANGED */ - + @SuppressWarnings("fallthrough") protected synchronized void updateCurrentCursor(int sourceAct, int targetAct, int status) { // if the cursor has been previously set then don't do any defaults --- old/src/share/classes/sun/awt/image/GifImageDecoder.java 2014-04-09 19:41:33.000000000 -0700 +++ new/src/share/classes/sun/awt/image/GifImageDecoder.java 2014-04-09 19:41:33.000000000 -0700 @@ -114,6 +114,7 @@ /** * produce an image from the stream. */ + @SuppressWarnings("fallthrough") public void produceImage() throws IOException, ImageFormatException { try { readHeader(); @@ -238,7 +239,7 @@ if (frameno == 0) { return; } - // NOBREAK + // Fall through case TERMINATOR: if (nloops == 0 || nloops-- >= 0) { --- old/src/share/classes/sun/awt/image/PixelConverter.java 2014-04-09 19:41:34.000000000 -0700 +++ new/src/share/classes/sun/awt/image/PixelConverter.java 2014-04-09 19:41:33.000000000 -0700 @@ -53,6 +53,7 @@ protected PixelConverter() {} + @SuppressWarnings("fallthrough") public int rgbToPixel(int rgb, ColorModel cm) { Object obj = cm.getDataElements(rgb, null); switch (cm.getTransferType()) { --- old/src/solaris/classes/sun/awt/X11/XWM.java 2014-04-09 19:41:34.000000000 -0700 +++ new/src/solaris/classes/sun/awt/X11/XWM.java 2014-04-09 19:41:34.000000000 -0700 @@ -1112,6 +1112,7 @@ * Therefore, a compound state is just ICONIFIED | anything else. * */ + @SuppressWarnings("fallthrough") boolean supportsExtendedState(int state) { switch (state) { case Frame.MAXIMIZED_VERT: @@ -1131,6 +1132,7 @@ return true; } } + /* FALLTROUGH */ default: return false; }