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;
|
||||
try {
|
||||
javaClass = context.findClass(fullName);
|
||||
} catch (final ClassNotFoundException e) {
|
||||
} catch (final NoClassDefFoundError | ClassNotFoundException e) {
|
||||
//ignored
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user