Skip to content

Usage of ILegacyPreferences #1212

@vogella

Description

@vogella

ILegacyPreferences is currently opened as a blocking service, see bundles/org.eclipse.equinox.preferences/src/org/eclipse/core/internal/preferences/PreferencesOSGiUtils.java

   2 initTracker = new ServiceTracker<>(context, ILegacyPreferences.class, null);
   3 initTracker.open(true); // BLOCKS until service is found

@tjwatson the name implies that this is something we should phase out, I see it is still configured in eclipse.platform. Do you remember why we have this service? Can we open it non-blocking or remove it entirely?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions