This commit is contained in:
nboyd%atg.com 2001-01-23 14:24:39 +00:00
Родитель 40c0726dfd
Коммит ad55745028
2 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -313,7 +313,7 @@ public class JavaAdapter extends ScriptableObject {
} }
SecuritySupport ss = cx.getSecuritySupport(); SecuritySupport ss = cx.getSecuritySupport();
if (ss != null) { if (ss != null) {
Object securityDomain = cx.getSecurityDomainForStackDepth(-1); Object securityDomain = cx.getSecurityDomainForStackDepth(-1);
Class result = ss.defineClass(adapterName, bytes, securityDomain); Class result = ss.defineClass(adapterName, bytes, securityDomain);
if (result != null) if (result != null)

Просмотреть файл

@ -313,7 +313,7 @@ public class JavaAdapter extends ScriptableObject {
} }
SecuritySupport ss = cx.getSecuritySupport(); SecuritySupport ss = cx.getSecuritySupport();
if (ss != null) { if (ss != null) {
Object securityDomain = cx.getSecurityDomainForStackDepth(-1); Object securityDomain = cx.getSecurityDomainForStackDepth(-1);
Class result = ss.defineClass(adapterName, bytes, securityDomain); Class result = ss.defineClass(adapterName, bytes, securityDomain);
if (result != null) if (result != null)