-
Sub-task
-
Resolution: Delivered
-
P2
-
22
Strings read with `java.nio.files.Files.readString` may return incorrect strings when decoding with a charset other than US-ASCII, ISO08859-1, or UTF-8. Reading strings with other multi-byte charsets, such as UTF_16, may produce incorrect results.
As a work-around, disable compact strings by setting `-XX:-CompactStrings` on the command line.
This issue will be fixed in a future update.
As a work-around, disable compact strings by setting `-XX:-CompactStrings` on the command line.
This issue will be fixed in a future update.
- relates to
-
JDK-8311906 Improve robustness of String constructors with mutable array inputs
-
- Closed
-