tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r379606 - /tomcat/jasper/branches/tc4.1.x/src/share/org/apache/jasper/compiler/JspRuntimeContext.java
Date Tue, 21 Feb 2006 22:15:40 GMT
Author: markt
Date: Tue Feb 21 14:15:40 2006
New Revision: 379606

URL: http://svn.apache.org/viewcvs?rev=379606&view=rev
Log:
Another tweak to keep Gump happy with Java 5.0

Modified:
    tomcat/jasper/branches/tc4.1.x/src/share/org/apache/jasper/compiler/JspRuntimeContext.java

Modified: tomcat/jasper/branches/tc4.1.x/src/share/org/apache/jasper/compiler/JspRuntimeContext.java
URL: http://svn.apache.org/viewcvs/tomcat/jasper/branches/tc4.1.x/src/share/org/apache/jasper/compiler/JspRuntimeContext.java?rev=379606&r1=379605&r2=379606&view=diff
==============================================================================
--- tomcat/jasper/branches/tc4.1.x/src/share/org/apache/jasper/compiler/JspRuntimeContext.java
(original)
+++ tomcat/jasper/branches/tc4.1.x/src/share/org/apache/jasper/compiler/JspRuntimeContext.java
Tue Feb 21 14:15:40 2006
@@ -24,6 +24,7 @@
 import java.security.CodeSource;
 import java.security.Policy;
 import java.security.PermissionCollection;
+import java.security.cert.Certificate;
 import java.util.Iterator;
 import java.util.Collections;
 import java.util.HashMap;
@@ -330,7 +331,7 @@
                 }
                 File contextDir = new File(codeBase);
                 URL url = contextDir.getCanonicalFile().toURL();
-                codeSource = new CodeSource(url,null);
+                codeSource = new CodeSource(url, (Certificate[]) null);
                 permissionCollection = policy.getPermissions(codeSource);
 
                 // Create a file read permission for web app context directory



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message