* link.cc:
(_Jv_Linker::find_field_helper): Added checks.
(_Jv_Linker::find_field): Use exception swallowing class resolution
and added early return.
(_Jv_ThrowNoClassDefFoundErrorTrampoline): New function.
(_Jv_Linker::link_symbol_table): Use exception swallowing class
resolution, added ffi_closure installation routine, use
_Jv_ThrowNoClassDefFoundError for missing static method.
(_Jv_Linker::ensure_class_linked): Added string check which does
not trigger class resolution.
* java/lang/natClassLoader.cc:
(_Jv_FindClassNoException): New method.
* java/lang/Class.h:
(_Jv_FindClassNoException): New method declaration.
* include/jvm.h:
(_Jv_FindClassNoException): New method declaration.
(_Jv_FindClassFromSignatureNoException): New method declaration.
* prims.cc:
(_Jv_FindClassFromSignatureNoException): New method.
* gcj/javaprims.h:
(_Jv_equalsUtf8Classname): New method declaration.
(_Jv_isPrimitiveOrDerived): Dito.
* prims.cc:
(_Jv_equalsUtf8Classnames): New method.
(_Jv_isPrimitiveOrDerived): New method.
* verify.cc:
(ref_intersection::equals): Use new classname comparison method.
(type::compatible): Use new classname comparison method. Added
check whether LHS' type is java.lang.Object .
(type::resolve): Added new optional debug message and simplified
if-expression.
(type::to_array): Added codepath that generates an array type
without resolving the element type.
From-SVN: r110474
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| ref | Loading commit data... | |
| reflect | Loading commit data... | |
| Character.java | Loading commit data... | |
| Class.h | Loading commit data... | |
| Class.java | Loading commit data... | |
| ClassLoader.java | Loading commit data... | |
| Double.java | Loading commit data... | |
| EcosProcess.java | Loading commit data... | |
| Float.java | Loading commit data... | |
| InheritableThreadLocal.java | Loading commit data... | |
| Object.h | Loading commit data... | |
| Object.java | Loading commit data... | |
| Package.java | Loading commit data... | |
| PosixProcess.java | Loading commit data... | |
| Runtime.java | Loading commit data... | |
| SecurityManager.java | Loading commit data... | |
| String.java | Loading commit data... | |
| StringBuffer.java | Loading commit data... | |
| StringBuilder.java | Loading commit data... | |
| System.java | Loading commit data... | |
| Thread.java | Loading commit data... | |
| ThreadLocal.java | Loading commit data... | |
| VMClassLoader.java | Loading commit data... | |
| VMCompiler.java | Loading commit data... | |
| VMSecurityManager.java | Loading commit data... | |
| VMThrowable.java | Loading commit data... | |
| Win32Process.java | Loading commit data... | |
| natCharacter.cc | Loading commit data... | |
| natClass.cc | Loading commit data... | |
| natClassLoader.cc | Loading commit data... | |
| natDouble.cc | Loading commit data... | |
| natEcosProcess.cc | Loading commit data... | |
| natFloat.cc | Loading commit data... | |
| natMath.cc | Loading commit data... | |
| natObject.cc | Loading commit data... | |
| natPosixProcess.cc | Loading commit data... | |
| natRuntime.cc | Loading commit data... | |
| natString.cc | Loading commit data... | |
| natStringBuffer.cc | Loading commit data... | |
| natStringBuilder.cc | Loading commit data... | |
| natSystem.cc | Loading commit data... | |
| natThread.cc | Loading commit data... | |
| natVMClassLoader.cc | Loading commit data... | |
| natVMSecurityManager.cc | Loading commit data... | |
| natVMThrowable.cc | Loading commit data... | |
| natWin32Process.cc | Loading commit data... |