mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 07:14:30 +02:00
8214583: AccessController.getContext may return wrong value after JDK-8212605
Reviewed-by: mchung, redestad
This commit is contained in:
parent
ad47b4c4cc
commit
57dc039131
6 changed files with 167 additions and 4 deletions
|
@ -59,3 +59,12 @@ Java_java_security_AccessController_getInheritedAccessControlContext(
|
|||
{
|
||||
return JVM_GetInheritedAccessControlContext(env, this);
|
||||
}
|
||||
|
||||
JNIEXPORT void JNICALL
|
||||
Java_java_security_AccessController_ensureMaterializedForStackWalk(
|
||||
JNIEnv *env,
|
||||
jclass cls,
|
||||
jobject value)
|
||||
{
|
||||
JVM_EnsureMaterializedForStackWalk(env, value);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue