src/share/classes/sun/font/TrueTypeGlyphMapper.java

Print this page

        

*** 107,116 **** --- 107,117 ---- * are gone. */ cmap = CMap.theNullCmap; } + @SuppressWarnings("fallthrough") private final char remapJAChar(char unicode) { switch (unicode) { case REVERSE_SOLIDUS: return JA_YEN; /* This is a workaround for bug 4533422.
*** 118,130 **** --- 119,133 ---- */ case JA_WAVE_DASH_CHAR: if (remapJAWaveDash) { return JA_FULLWIDTH_TILDE_CHAR; } + // Fall through okay? default: return unicode; } } + @SuppressWarnings("fallthrough") private final int remapJAIntChar(int unicode) { switch (unicode) { case REVERSE_SOLIDUS: return JA_YEN; /* This is a workaround for bug 4533422.
*** 132,141 **** --- 135,145 ---- */ case JA_WAVE_DASH_CHAR: if (remapJAWaveDash) { return JA_FULLWIDTH_TILDE_CHAR; } + // Fall through okay? default: return unicode; } } public int charToGlyph(char unicode) {