diff options
Diffstat (limited to 'libjava/java/awt/datatransfer/DataFlavor.java')
-rw-r--r-- | libjava/java/awt/datatransfer/DataFlavor.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/java/awt/datatransfer/DataFlavor.java b/libjava/java/awt/datatransfer/DataFlavor.java index 51b610b..2603b6e 100644 --- a/libjava/java/awt/datatransfer/DataFlavor.java +++ b/libjava/java/awt/datatransfer/DataFlavor.java @@ -49,6 +49,7 @@ import java.io.StringReader; import java.io.UnsupportedEncodingException; import java.nio.ByteBuffer; import java.nio.CharBuffer; +import java.nio.charset.Charset; /** * This class represents a particular data format used for transferring @@ -335,9 +336,8 @@ getRepresentationClassFromMime(String mimeString, ClassLoader classLoader) */ public DataFlavor(String mimeType, String humanPresentableName) - throws ClassNotFoundException { - this(mimeType, humanPresentableName, null); + this (getRepresentationClassFromMime (mimeType, null), humanPresentableName); } /*************************************************************************/ |