Searched refs:encodesToNothing (Results 1 – 1 of 1) sorted by relevance
193 if (isDefaultIgnorableCode(code) && encodesToNothing(encoder, codeChars)) { in test_CodecDynamic()214 private static boolean encodesToNothing(CharsetEncoder encoder, char[] codeChars) in encodesToNothing() method in OldCharset_AbstractTest216 boolean encodesToNothing = encoder.encode(CharBuffer.wrap(codeChars)).limit() == 0; in encodesToNothing()218 return encodesToNothing; in encodesToNothing()