mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8201179: Regression due loading java.nio.charset.StandardCharsets during bootstrap
Reviewed-by: sherman, martin
This commit is contained in:
parent
370977cf4f
commit
c40af49970
7 changed files with 33 additions and 16 deletions
|
@ -609,7 +609,7 @@ public abstract class Charset
|
|||
if (cs != null)
|
||||
defaultCharset = cs;
|
||||
else
|
||||
defaultCharset = StandardCharsets.UTF_8;
|
||||
defaultCharset = sun.nio.cs.UTF_8.INSTANCE;
|
||||
}
|
||||
}
|
||||
return defaultCharset;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue