Skip to content

EMFUtil.AbsoluteURIPreservingURIHandler should not be a singleton #157

@vsennedot

Description

@vsennedot

A URIHandler should not be a singleton as its baseURI field can be set. Consequently, when multiple load/save operations occur in different threads, the baseURI field could have the value of another resource, leading to an undesirable deresolve result.

Although this can be avoided using the "org.eclipse.emf.cdo.common.model.EMFUtil.CONVERT_TO_RELATIVE_URIS" property, I don’t think it should remain a singleton in any case.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions