Skip to content

Commit

Permalink
Remove unused method JVM_DoPrivileged
Browse files Browse the repository at this point in the history
Signed-off-by: Theresa Mammarella <[email protected]>
  • Loading branch information
theresa-m committed Dec 17, 2024
1 parent d7450f0 commit 6f6b759
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions runtime/j9vm/j7vmi.c
Original file line number Diff line number Diff line change
Expand Up @@ -380,32 +380,6 @@ java_lang_J9VMInternals_doPrivilegedWithException(JNIEnv* env)
return cached;
}


jobject JNICALL
JVM_DoPrivileged(JNIEnv* env, jobject java_security_AccessController, jobject action, jboolean unknown, jboolean isExceptionAction)
{
PORT_ACCESS_FROM_ENV(env);
#if 0
j9tty_printf(
PORTLIB,
"JVM_DoPrivileged(env=0x%p, accessController=0x%p, action=0x%p, arg3=0x%p, arg4=0x%p\n",
env, java_security_AccessController, action, arg3, arg4);
#endif

jmethodID methodID =
(JNI_TRUE == isExceptionAction)
? java_lang_J9VMInternals_doPrivilegedWithException(env)
: java_lang_J9VMInternals_doPrivileged(env);

return (*env)->CallStaticObjectMethod(
env,
java_lang_J9VMInternals(env),
methodID,
action);
}



jobject JNICALL
JVM_EnableCompiler(jint arg0, jint arg1)
{
Expand Down

0 comments on commit 6f6b759

Please sign in to comment.