mirror of
https://github.com/openjdk/jdk.git
synced 2026-04-25 06:10:44 +00:00
8016019: Remove setProtectionDomain0 and JVM_SetProtectionDomain in JDK
SetProtectionDomain0 and JVM_SetProtectionDomain are unused since at least 1.5. This is the JDK side of a changeset to remove it. Reviewed-by: alanb
This commit is contained in:
parent
a3d61f5a75
commit
47556dfb0d
@ -2212,14 +2212,6 @@ public final class Class<T> implements java.io.Serializable,
|
||||
*/
|
||||
private native java.security.ProtectionDomain getProtectionDomain0();
|
||||
|
||||
|
||||
/**
|
||||
* Set the ProtectionDomain for this class. Called by
|
||||
* ClassLoader.defineClass.
|
||||
*/
|
||||
native void setProtectionDomain0(java.security.ProtectionDomain pd);
|
||||
|
||||
|
||||
/*
|
||||
* Return the Virtual Machine's Class object for the named
|
||||
* primitive type.
|
||||
|
||||
@ -441,9 +441,6 @@ JVM_SetClassSigners(JNIEnv *env, jclass cls, jobjectArray signers);
|
||||
JNIEXPORT jobject JNICALL
|
||||
JVM_GetProtectionDomain(JNIEnv *env, jclass cls);
|
||||
|
||||
JNIEXPORT void JNICALL
|
||||
JVM_SetProtectionDomain(JNIEnv *env, jclass cls, jobject protection_domain);
|
||||
|
||||
JNIEXPORT jboolean JNICALL
|
||||
JVM_IsArrayClass(JNIEnv *env, jclass cls);
|
||||
|
||||
|
||||
@ -68,7 +68,6 @@ static JNINativeMethod methods[] = {
|
||||
{"getDeclaredMethods0","(Z)[" MHD, (void *)&JVM_GetClassDeclaredMethods},
|
||||
{"getDeclaredConstructors0","(Z)[" CTR, (void *)&JVM_GetClassDeclaredConstructors},
|
||||
{"getProtectionDomain0", "()" PD, (void *)&JVM_GetProtectionDomain},
|
||||
{"setProtectionDomain0", "(" PD ")V", (void *)&JVM_SetProtectionDomain},
|
||||
{"getDeclaredClasses0", "()[" CLS, (void *)&JVM_GetDeclaredClasses},
|
||||
{"getDeclaringClass", "()" CLS, (void *)&JVM_GetDeclaringClass},
|
||||
{"getGenericSignature", "()" STR, (void *)&JVM_GetClassSignature},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user