8021969: The index_AccessAllowed jnlp can not load successfully with exception thrown in the log.
authormalenkov
Wed, 07 Aug 2013 14:37:22 +0400
changeset 20837 a9837567647e
parent 20836 c42fc815438d
child 20838 d292e6a0481f
8021969: The index_AccessAllowed jnlp can not load successfully with exception thrown in the log. Reviewed-by: art, skoivu
jdk/src/share/classes/java/awt/datatransfer/DataFlavor.java
--- 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);
     }
 
     /*