Mercurial > hg > truffle
comparison src/share/vm/prims/jvm.cpp @ 18125:2a69cbe850a8
Reduce diff with upstream
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Mon, 20 Oct 2014 19:07:20 +0200 |
parents | eaf39a954227 |
children | 7848fc12602b |
comparison
equal
deleted
inserted
replaced
18124:689092d5cf44 | 18125:2a69cbe850a8 |
---|---|
1182 | 1182 |
1183 oop pd = java_lang_Class::protection_domain(JNIHandles::resolve(cls)); | 1183 oop pd = java_lang_Class::protection_domain(JNIHandles::resolve(cls)); |
1184 return (jobject) JNIHandles::make_local(env, pd); | 1184 return (jobject) JNIHandles::make_local(env, pd); |
1185 JVM_END | 1185 JVM_END |
1186 | 1186 |
1187 | |
1187 static bool is_authorized(Handle context, instanceKlassHandle klass, TRAPS) { | 1188 static bool is_authorized(Handle context, instanceKlassHandle klass, TRAPS) { |
1188 // If there is a security manager and protection domain, check the access | 1189 // If there is a security manager and protection domain, check the access |
1189 // in the protection domain, otherwise it is authorized. | 1190 // in the protection domain, otherwise it is authorized. |
1190 if (java_lang_System::has_security_manager()) { | 1191 if (java_lang_System::has_security_manager()) { |
1191 | 1192 |