* java/lang/natClassLoader.cc:
(_Jv_PrepareCompiledClass): Throw NoClassDefFoundError, per spec. * resolve.cc: Include NoClassDefFoundError.h, not ClassNotFoundException.h. (_Jv_ResolvePoolEntry): Throw NoClassDefFoundError, per spec. * defineclass.cc: Don't include ClassNotFoundException.h. From-SVN: r57516
This commit is contained in:
parent
fd44a92df6
commit
169f75f384
4 changed files with 11 additions and 4 deletions
|
@ -260,7 +260,7 @@ _Jv_PrepareCompiledClass (jclass klass)
|
|||
if (! found)
|
||||
{
|
||||
jstring str = _Jv_NewStringUTF (name->data);
|
||||
throw new java::lang::ClassNotFoundException (str);
|
||||
throw new java::lang::NoClassDefFoundError (str);
|
||||
}
|
||||
|
||||
pool->data[index].clazz = found;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue