Kaydet (Commit) 829a9b9c authored tarafından Stephan Bergmann's avatar Stephan Bergmann

In Java, css.uno.RuntimeException is not derived from css.uno.Exception

which lead to Bridge::map_to_java (jni_data.cxx) copying the Context member of RuntimeException
twice, once with a fieldID for Exception, which fails on Dalvik.
üst 094cf7ca
......@@ -282,7 +282,11 @@ JNI_compound_type_info::JNI_compound_type_info(
// retrieve info for base type
typelib_TypeDescription * base_td =
reinterpret_cast< typelib_TypeDescription * >(
type_equals(
td->aBase.pWeakRef,
jni_info->m_RuntimeException_type.getTypeLibType())
? 0
: reinterpret_cast< typelib_TypeDescription * >(
td->pBaseTypeDescription );
m_base = (0 == base_td ? 0 : jni_info->get_type_info( jni, base_td ));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment