RFR: 8270490: Charset.forName() taking fallback default value [v3]

Ichiroh Takiguchi itakiguchi at openjdk.java.net
Sat Oct 23 03:19:06 UTC 2021


On Fri, 22 Oct 2021 17:33:43 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>> During the review of JEP 400, a proposal to provide an overloaded method to `Charset.forName()` was suggested [[1]](https://github.com/openjdk/jdk/pull/4733#discussion_r669693954). This PR is to implement the proposal. A CSR is also drafted as https://bugs.openjdk.java.net/browse/JDK-8275348
>
> Naoto Sato has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Removed `@throws IllegalCharsetNameException`

About javadoc, I think following description is not clear.

     * @param  fallback
     *         fallback charset in case the charset object for the named
     *         charset is not available. May be {@code null}

-------------

PR: https://git.openjdk.java.net/jdk/pull/6045


More information about the core-libs-dev mailing list