Eclipse CDT Deprecated and Breaking API changes and removals

Deprecated API can be marked for deletion without requiring a major version increment. See the policy for the details. This section describes API removals that occurred in past releases, and upcoming removals in future releases.

API Changes prior to CDT 10.0 / 2020-09.

Prior to CDT 10 release API changes were published as part of the New and Noteworthy entries for that release. From CDT 10 forward breaking API changes are included in this document.

API Changes in CDT 10.0.

  1. Eclipse CDT requires Java 11 as a minimum to build and run.
  2. Previously exported packages that were not API are now correctly marked as such.
  3. Activators removed for all bundles where possible.
  4. NewClassCreationWizardPage breaking changes.
  5. Arduino plug-ins and features removed.
  6. Remove LRParser, XLC and UPC.

Planned Removals after June 2022

  1. 32-bit Binary parsers with 64-bit replacements

API Changes in CDT 10.0.

1. Eclipse CDT requires Java 11 as a minimum to build and run.

See Bug 562494.

2. Previously exported packages that were not API are now correctly marked as such.

A review of the previously exported API of CDT was performed. A lot of what was previously marked as public API has now been marked as internal. This means the API has either had x-internal or x-friends added to the Export-Package declarations.

The following bundles have had all their packages exported as internal See Bug 561389:

The following bundles had additional changes made to be able to mark packages as internal:

3. Activators removed for all bundles where possible.

Where possible bundles have had their Activators removed. Some of these activators were API and are no longer available. See Bug 561635 for workarounds where items that used to be in Activators are still needed, such as logging and plug-ids.

The following Activators that were API have been removed.

4. NewClassCreationWizardPage breaking changes.

The NewClassCreationWizardPage has some API breaking changes due to how some protected fields, especially ALL_FIELDS was used. While this breaks binary compatibility, no code changes should be needed in extenders, just compiling against the new version. See Bug 510789 and Bug 561770.

5. Arduino plug-ins and features removed.

The CDT Arduino plug-ins and features have been removed. Arduino can still be used with CDT with manual maintenance of packages, etc. Or a third-party add-on such as Sloeber can be used as a replacement.

The bundles and features that have been removed are:

See Bug 562498.

6. Remove LRParser, XLC and UPC.

The LR, UPC and XLC support have been removed from CDT. The bundles have not been maintained for a while and were not functional anymore.

The bundles and features that have been removed are:

See Bug 562498.


Future Deletions

The items below can be removed after the given date or on the next major release, whichever is sooner. The details and discussion on the removal happens in the Bugzilla associated with the entry below. See the policy for the details.

API Removals after June 2022

1. Planned Removals after June 2022.

The following binary parser classes have replacements, mostly due to these versions not supporting 64-bit variants of the binary files. The new 64-bit parsers support both 32 and 64 bit files.

See Bug 562495.