JDK-8159766 : "Switching encoding from UTF-8 to ISO-8859-1" log message should be trace/debug message
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util:i18n
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2016-06-17
  • Updated: 2016-07-05
  • Resolved: 2016-06-22
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 9
9 b125Fixed
Related Reports
Relates :  
Description
sun.util.PropertyResourceBundleCharset$PropertiesFileDecoder decodeLoop
INFO: Invalid or unmappable UTF-8 sequence detected. Switching encoding from UTF-8 to ISO-8859-1

INFO is enabled by default.   This seems to be the implementation detail that attempts to decode with UTF-8 first and fall back to ISO-8859-1.  The log message may be intended to be TRACE/DEBUG message (FINE/FINER in java.util.logging.Level)

It's currently using PlatformLogger.  It should consider using System.Logger.
Comments
The logging code has been removed. No regression test was written for this fix. The INFO message will no longer be displayed or logged after the fix.
21-06-2016