You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2013/08/28 17:24:52 UTC

[jira] [Resolved] (JENA-525) OntDocuemntManager copies the FileManger incorrectly.

     [ https://issues.apache.org/jira/browse/JENA-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andy Seaborne resolved JENA-525.
--------------------------------

       Resolution: Fixed
    Fix Version/s: Jena 2.11.0
    
> OntDocuemntManager copies the FileManger incorrectly.
> -----------------------------------------------------
>
>                 Key: JENA-525
>                 URL: https://issues.apache.org/jira/browse/JENA-525
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Ontology API
>    Affects Versions: Jena 2.10.1
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>             Fix For: Jena 2.11.0
>
>
> From http://mail-archives.apache.org/mod_mbox/jena-users/201308.mbox/%3C521D6121.3070503%40neusoft.com%3E
> The OntDocumentManager takes its own copy of a FileManager -- but as of jena 2.10.1 the actual global filemanager is a subclass of FileManager.  When OntDocumentManager recreates a copy, the copy is incomplete.  Need to copy the subclass somehow.
> Problem code: {{new FileManager}} in:
> {noformat}
> public void setFileManager() {
>         setFileManager( new FileManager( FileManager.get() ) );
>         m_usingGlobalFileMgr = true;
>     }
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira