提交 9659cd18 编写于 作者: A alanb

6894633: NetHooks should not require provider to be present (sol)

Reviewed-by: chegar, jccollet
上级 07ec4017
...@@ -81,7 +81,7 @@ public final class NetHooks { ...@@ -81,7 +81,7 @@ public final class NetHooks {
try { try {
c = (Class<Provider>)Class.forName(cn, true, null); c = (Class<Provider>)Class.forName(cn, true, null);
} catch (ClassNotFoundException x) { } catch (ClassNotFoundException x) {
throw new AssertionError(x); return null;
} }
try { try {
return c.newInstance(); return c.newInstance();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册