8021969: The index_AccessAllowed jnlp can not load successfully with exception thrown in the log

Reviewed-by: art, skoivu
This commit is contained in:
Sergey Malenkov 2013-08-07 14:37:22 +04:00
parent a3b45465c6
commit 68d1aae1be

View File

@ -145,11 +145,7 @@ public class DataFlavor implements Externalizable, Cloneable {
} 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);
}
/*