DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG� RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=34364>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND� INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=34364 Summary: Ambiguous constructor call error in RhinoClassLoader with JDK 1.5 Product: Batik Version: 1.5 Platform: Other OS/Version: other Status: NEW Severity: normal Priority: P2 Component: Scripting AssignedTo: [email protected] ReportedBy: [EMAIL PROTECTED] 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){ - codeSource = new CodeSource(documentURL, null); + codeSource = new CodeSource(documentURL, (Certificate[])null); } // -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
