mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8179424: Remove terminally deprecated sun.reflect.Reflection.getCallerClass
Reviewed-by: alanb, dfuchs, dholmes, lancea, mchung, rriggs
This commit is contained in:
parent
df559fe00e
commit
a2000f8720
13 changed files with 22 additions and 247 deletions
|
@ -30,13 +30,7 @@
|
|||
JNIEXPORT jclass JNICALL
|
||||
Java_jdk_internal_reflect_Reflection_getCallerClass__(JNIEnv *env, jclass unused)
|
||||
{
|
||||
return JVM_GetCallerClass(env, JVM_CALLER_DEPTH);
|
||||
}
|
||||
|
||||
JNIEXPORT jclass JNICALL
|
||||
Java_jdk_internal_reflect_Reflection_getCallerClass__I(JNIEnv *env, jclass unused, jint depth)
|
||||
{
|
||||
return JVM_GetCallerClass(env, depth);
|
||||
return JVM_GetCallerClass(env);
|
||||
}
|
||||
|
||||
JNIEXPORT jint JNICALL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue