Often there is no sufficiently compelling reason to ever remove deprecated API, so the API may remain in place indefinitely after the release in which it was deprecated. However, there are situations where continuing to maintain the deprecated API creates too high a burden for both API developers and clients: the code bloat of keeping old implementations, the added complexity of multiple redundant APIs, etc. For this reason the Eclipse project has a policy to occasionally delete deprecated API after providing two years advance notice to clients. This section describes API removals that occurred in this release, and upcoming removals in future releases.
There are no API removals planned for the Eclipse project Helios (3.6) release.
The WorkspaceLock
API allowed a special client (usually platform UI) to
hook into the locking protocols used by the workspace implementation. This hook
was used to mitigate deadlocks due to interaction with synchronous SWT events,
and was never intended to be used by other clients. In the 3.0 release this API
was deprecated in favor of a more general API provided by the org.eclipse.core.jobs
bundle. Invoking this API has had no effect since the 3.0 release. The specific API
to be removed includes:
org.eclipse.core.resources.WorkspaceLock
class.org.eclipse.core.resources.IWorkspace#setWorkspaceLock
The functionality provided by the org.eclipse.update
component (known as
Update Manager), was replaced in the Eclipse 3.4 (June 2008) release by Equinox p2. The bundles that
comprise this component will be removed from the Eclipse platform and RCP features
after the June 2012 release. Equinox p2 will continue to provide full compatibility
for features and update sites created for Update Manager. The bundles to be removed
are:
The IncrementalProjectBuilder#getRule()
method returned a scheduling rule
that was required for building the project by the builder. This method was intended to be used by the builder framework only.
In the 3.6 release this method was deprecated in favor of a more general method IncrementalProjectBuilder#getRule(int, Map)
.
The specific API to be removed includes:
org.eclipse.core.resources.IncrementalProjectBuilder#getRule()