[
https://issues.apache.org/jira/browse/JENA-525?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Seaborne updated JENA-525:
-------------------------------
Summary: OntDocumentManager copies the FileManager incorrectly. (was:
OntDocuemntManager copies the FileManger incorrectly.)
> OntDocumentManager copies the FileManager 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