Quoting [EMAIL PROTECTED]:

> glenn       01/06/22 13:20:54
> 
>   Modified:    catalina/src/share/org/apache/naming/resources
>                         FileDirContext.java
>   Log:
>   Fix path for windows file separator
>   @@ -843,6 +842,8 @@
>         * @param name Normalized context-relative path (with leading
> '/')
>         */
>        protected File file(String name) {
>   +   if( File.separatorChar == '\\' )
>   +            name = name.replace('/',File.separatorChar);
>    
>            File file = new File(base, name);
>            if (file.exists() && file.canRead()) {

Is this really needed ?
I think this should be abstracted by the new File call.

Remy

Reply via email to