< prev index next >

src/java.base/share/classes/java/lang/StringDecoderUTF8.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2015, 2017, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -33,11 +33,11 @@
 import static java.lang.String.COMPACT_STRINGS;
 import static java.lang.Character.isSurrogate;
 import static java.lang.Character.highSurrogate;
 import static java.lang.Character.lowSurrogate;
 import static java.lang.Character.isSupplementaryCodePoint;
-import static java.lang.StringUTF16.putChar;
+import static java.lang.StringUTF16.Trusted.putChar;
 
 class StringDecoderUTF8 extends StringCoding.StringDecoder {
 
     StringDecoderUTF8(Charset cs, String rcn) {
         super(cs, rcn);
< prev index next >