builtin.cpp: Remove native Class.getDeclaringClass()

It's implemented in pure Java and is not used.
This commit is contained in:
Timofey Lagutin 2014-11-07 14:40:31 +03:00
parent d037a69cd3
commit fd2cdafed3

View File

@ -1255,15 +1255,6 @@ extern "C" AVIAN_EXPORT int64_t JNICALL
return reinterpret_cast<int64_t>(primitiveClass(t, arguments[0]));
}
extern "C" AVIAN_EXPORT int64_t JNICALL
Avian_java_lang_Class_getDeclaringClass(Thread* t,
object,
uintptr_t* arguments)
{
return reinterpret_cast<intptr_t>(getDeclaringClass(
t, cast<GcJclass>(t, reinterpret_cast<object>(arguments[0]))->vmClass()));
}
extern "C" AVIAN_EXPORT int64_t JNICALL
Avian_java_lang_Class_getEnclosingMethod(Thread* t,
object,