Details
-
Bug
-
Status: Resolved
-
Resolution: Fixed
-
1.5
-
None
-
None
-
Operating System: other
Platform: Other
Description
JDK 1.5 has introduced a new constructor for CodeSource, so the constructor call
in line 71 of RhinoClassLoader.java is ambiguous. The following patch fixes this.
Index: org/apache/batik/script/rhino/RhinoClassLoader.java
===================================================================
RCS file:
/home/cvspublic/xml-batik/sources/org/apache/batik/script/rhino/RhinoClassLoader.java,v
retrieving revision 1.10
diff -u -r1.10 RhinoClassLoader.java
— org/apache/batik/script/rhino/RhinoClassLoader.java 18 Aug 2004 07:14:57
-0000 1.10
+++ org/apache/batik/script/rhino/RhinoClassLoader.java 7 Apr 2005 23:09:21 -0000
@@ -29,6 +29,7 @@
import java.security.PermissionCollection;
import java.security.ProtectionDomain;
import java.security.PrivilegedAction;
+import java.security.cert.Certificate;
import org.mozilla.javascript.GeneratedClassLoader;
@@ -68,7 +69,7 @@
parent);
this.documentURL = documentURL;
if (documentURL != null)
//