提交 02e003a1 编写于 作者: S sundar

8012673: Nashorn's package name vs class name inferring logic is wrong

Reviewed-by: hannesw, jlaskey, attila
上级 0941dafb
...@@ -170,7 +170,7 @@ public final class NativeJavaPackage extends ScriptObject { ...@@ -170,7 +170,7 @@ public final class NativeJavaPackage extends ScriptObject {
Class<?> javaClass = null; Class<?> javaClass = null;
try { try {
javaClass = context.findClass(fullName); javaClass = context.findClass(fullName);
} catch (final ClassNotFoundException e) { } catch (final NoClassDefFoundError | ClassNotFoundException e) {
//ignored //ignored
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册