jdk/src/share/classes/java/awt/datatransfer/DataFlavor.java
changeset 20837 a9837567647e
parent 20803 140bc93ee613
child 20851 9f284cf7836b
--- a/jdk/src/share/classes/java/awt/datatransfer/DataFlavor.java	Tue Aug 06 10:33:42 2013 +0200
+++ b/jdk/src/share/classes/java/awt/datatransfer/DataFlavor.java	Wed Aug 07 14:37:22 2013 +0400
@@ -145,11 +145,7 @@
         } catch (SecurityException exception) {
             // ignore secured class loaders
         }
-        if (fallback != null) {
-            return Class.forName(className, true, fallback);
-        } else {
-            throw new ClassNotFoundException(className);
-        }
+        return Class.forName(className, true, fallback);
     }
 
     /*