< prev index next >

src/java.base/share/classes/sun/nio/cs/UTF_8.java

Print this page
rev 49550 : 8201179: Regression due loading java.nio.charset.StandardCharsets during bootstrap
Reviewed-by: sherman

@@ -53,10 +53,13 @@
  *    U+100000..U10FFFF         F4          80..8F      80..BF      80..BF
  *
  */
 
 public final class UTF_8 extends Unicode {
+
+    public static final UTF_8 INSTANCE = new UTF_8();
+
     public UTF_8() {
         super("UTF-8", StandardCharsets.aliases_UTF_8());
     }
 
     public String historicalName() {
< prev index next >