Fix for Bugzilla #399958

git-svn-id: svn://10.0.0.236/trunk@238019 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
szegedia%freemail.hu 2007-10-23 15:29:40 +00:00
parent 29fe67a878
commit 1bb94ced68

View File

@ -2344,7 +2344,7 @@ public class Context
ErrorReporter compilationErrorReporter)
throws IOException
{
if (securityDomain != null && securityController == null) {
if (securityDomain != null && getSecurityController() == null) {
throw new IllegalArgumentException(
"securityDomain should be null if setSecurityController() was never called");
}