8012673: Nashorn's package name vs class name inferring logic is wrong
Reviewed-by: hannesw, jlaskey, attila
This commit is contained in:
parent
1334460008
commit
3722b6d434
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user