diff options
Diffstat (limited to 'libjava/java/nio/charset/Charset.java')
-rw-r--r-- | libjava/java/nio/charset/Charset.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libjava/java/nio/charset/Charset.java b/libjava/java/nio/charset/Charset.java index e0f27e6..ad57040 100644 --- a/libjava/java/nio/charset/Charset.java +++ b/libjava/java/nio/charset/Charset.java @@ -35,8 +35,11 @@ this exception to your version of the library, but you are not obligated to do so. If you do not wish to do so, delete this exception statement from your version. */ + package java.nio.charset; +import gnu.java.nio.charset.Provider; + import java.nio.ByteBuffer; import java.nio.CharBuffer; import java.nio.charset.spi.CharsetProvider; @@ -47,7 +50,6 @@ import java.util.Locale; import java.util.Set; import java.util.SortedMap; import java.util.TreeMap; -import gnu.java.nio.charset.Provider; /** * @author Jesse Rosenstock @@ -121,6 +123,8 @@ public abstract class Charset implements Comparable Charset cs = charsetForName (charsetName); if (cs == null) throw new UnsupportedCharsetException (charsetName); + cachedDecoder = null; + cachedEncoder = null; return cs; } |