JDK-8270490 : Charset.forName() taking fallback default value
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.nio.charsets
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2021-07-14
  • Updated: 2021-11-01
  • Resolved: 2021-10-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 18
18 b21Fixed
Related Reports
CSR :  
Relates :  
Sub Tasks
JDK-8276137 :  
Description
Charset.forName(String charsetName, String default) is proposed during the review of JEP 400:
https://github.com/openjdk/jdk/pull/4733#discussion_r669693954
Comments
Changeset: 168081ef Author: Naoto Sato <naoto@openjdk.org> Date: 2021-10-27 12:39:46 +0000 URL: https://git.openjdk.java.net/jdk/commit/168081efc8af1f5d1d7524246eb4a0675bd49ae0
27-10-2021