jaxb-api-2.0/src/main/java/javax/xml/bind/helpers/AbstractMarshallerImpl.java [145:159]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected String getJavaEncoding(String encoding) throws UnsupportedEncodingException {
        try {
            "dummy".getBytes(encoding);
            return encoding;
        }
        catch (UnsupportedEncodingException e) {
        }
        for (int i = 0; i < aliases.length; i += 2) {
            if (encoding.equals(aliases[i])) {
                "dummy".getBytes(aliases[i + 1]);
                return aliases[i + 1];
            }
        }
        throw new UnsupportedEncodingException(encoding);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



jaxb-api-2.1/src/main/java/javax/xml/bind/helpers/AbstractMarshallerImpl.java [163:177]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    protected String getJavaEncoding(String encoding) throws UnsupportedEncodingException {
        try {
            "dummy".getBytes(encoding);
            return encoding;
        }
        catch (UnsupportedEncodingException e) {
        }
        for (int i = 0; i < aliases.length; i += 2) {
            if (encoding.equals(aliases[i])) {
                "dummy".getBytes(aliases[i + 1]);
                return aliases[i + 1];
            }
        }
        throw new UnsupportedEncodingException(encoding);
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



