--- a/jdk/src/share/classes/sun/font/SunFontManager.java Mon Apr 21 20:59:59 2014 +0400
+++ b/jdk/src/share/classes/sun/font/SunFontManager.java Mon Apr 21 23:39:30 2014 -0700
@@ -1161,6 +1161,7 @@
case FONTFORMAT_NATIVE:
NativeFont nf = new NativeFont(fileName, false);
physicalFont = addToFontList(nf, fontRank);
+ break;
default:
}
--- a/jdk/src/share/classes/sun/font/TrueTypeGlyphMapper.java Mon Apr 21 20:59:59 2014 +0400
+++ b/jdk/src/share/classes/sun/font/TrueTypeGlyphMapper.java Mon Apr 21 23:39:30 2014 -0700
@@ -109,6 +109,7 @@
cmap = CMap.theNullCmap;
}
+ @SuppressWarnings("fallthrough")
private final char remapJAChar(char unicode) {
switch (unicode) {
case REVERSE_SOLIDUS:
@@ -123,6 +124,7 @@
default: return unicode;
}
}
+ @SuppressWarnings("fallthrough")
private final int remapJAIntChar(int unicode) {
switch (unicode) {
case REVERSE_SOLIDUS:
--- a/jdk/src/solaris/classes/sun/java2d/x11/X11SurfaceData.java Mon Apr 21 20:59:59 2014 +0400
+++ b/jdk/src/solaris/classes/sun/java2d/x11/X11SurfaceData.java Mon Apr 21 23:39:30 2014 -0700
@@ -515,6 +515,7 @@
return getSurfaceType(gc, transparency, false);
}
+ @SuppressWarnings("fallthrough")
public static SurfaceType getSurfaceType(X11GraphicsConfig gc,
int transparency,
boolean pixmapSurface)