Henri Gomez wrote:
There is still in o.a.c.loader.WebappClassLoader :

   /**
     * Get URL.
     */
    protected URL getURI(File file)
        throws MalformedURLException {

        File realFile = file;
        try {
            realFile = realFile.getCanonicalFile();
        } catch (IOException e) {
            // Ignore
        }
        return realFile.toURI().toURL();

    }

Did someone has an idea to make this part of code JDK 1.2 compatible ?
Yes, sorry about that, I'll do it soon.
You need to remove toURI() to fix the issue.

I'll rewrite the code using reflection (defaulting to realFile.toURL() if there's a problem). Unfortunately, I see no way around :-(

Remy


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to