[ 
https://issues.apache.org/jira/browse/JENA-889?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14362617#comment-14362617
 ] 

Jan Vlug commented on JENA-889:
-------------------------------

The cause of the difference in behavior is caused by the fact that code like 
the following lines is missing in the new LocatorClassLoader.open method:

{noformat}
        String fn = FileUtils.toFilename(filenameOrURI) ;
        if ( fn == null )
        {
            if ( FileManager.logAllLookups && log.isTraceEnabled() )
                log.trace("Not found: "+filenameOrURI) ; 
            return null ;
        }
{noformat}

> FileManager/LocationMapper does not work with file: prefix for 
> LocatorClassLoader
> ---------------------------------------------------------------------------------
>
>                 Key: JENA-889
>                 URL: https://issues.apache.org/jira/browse/JENA-889
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Jena
>    Affects Versions: Jena 2.12.1
>            Reporter: Jan Vlug
>         Attachments: locatortest.tar.bz
>
>
> I tried to use a LocationMapper configuration file as described at: 
> https://jena.apache.org/documentation/notes/file-manager.html. This worked 
> fine in an old Jena version. But now I upgraded to 2.12.1 it seems that I 
> have to omit the file: prefix in the mapped URL.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to