Home
last modified time | relevance | path

Searched refs:constructorClass (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/main/native/
Djava_io_ObjectStreamClass.cpp41 return getSignature(env, JniConstants::constructorClass, constructor); in ObjectStreamClass_getConstructorSignature()
50 static jlong ObjectStreamClass_getConstructorId(JNIEnv* env, jclass, jclass constructorClass) { in ObjectStreamClass_getConstructorId() argument
51 return reinterpret_cast<jlong>(env->GetMethodID(constructorClass, "<init>", "()V")); in ObjectStreamClass_getConstructorId()
/libcore/luni/src/main/java/java/io/
DObjectStreamClass.java686 Class<?> constructorClass = objectClass; in resolveConstructorClass() local
695 while (constructorClass != null && ObjectStreamClass.isSerializable(constructorClass)) { in resolveConstructorClass()
696 constructorClass = constructorClass.getSuperclass(); in resolveConstructorClass()
702 if (constructorClass != null) { in resolveConstructorClass()
704 constructor = constructorClass.getDeclaredConstructor(EmptyArray.CLASS); in resolveConstructorClass()
711 String className = constructorClass != null ? constructorClass.getName() : null; in resolveConstructorClass()
724 throw new InvalidClassException(constructorClass.getName(), "IllegalAccessException"); in resolveConstructorClass()
734 if (!inSamePackage(constructorClass, objectClass)) { in resolveConstructorClass()
735 … throw new InvalidClassException(constructorClass.getName(), "IllegalAccessException"); in resolveConstructorClass()
739 resolvedConstructorClass = constructorClass; in resolveConstructorClass()
[all …]