? (Charset) provider.charsetForName(cc.charset.substring(1),
"com/ibm/icu/dev/data/testdata", this.getClass().getClassLoader())
: (Charset) provider.charsetForName(cc.charset);
decoder = (CharsetDecoder) charset.newDecoder();
decoder.onMalformedInput(CodingErrorAction.REPLACE);
decoder.onUnmappableCharacter(CodingErrorAction.REPLACE);
} catch (Exception e) {
// TODO implement loading of test data.
if (skipIfBeforeICU(4,3,0)) {
logln("Skipping test:(" + cc.charset + ") due to ICU Charset not supported at this time");