Skip to content

Remove FeatureExportJob and PluginExportJob compatibility stubs - #2413

Open
vogella wants to merge 1 commit into
eclipse-pde:masterfrom
vogella:remove-export-job-compat-stubs
Open

Remove FeatureExportJob and PluginExportJob compatibility stubs#2413
vogella wants to merge 1 commit into
eclipse-pde:masterfrom
vogella:remove-export-job-compat-stubs

Conversation

@vogella

@vogella vogella commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

FeatureExportJob and PluginExportJob were added in 2010 as internal compatibility shims for bug 301178. Sixteen years later nothing in the repository references them anymore, and they live in org.eclipse.pde.internal.ui.build, which is exported with x-internal:=true, so no legitimate consumer can depend on them either.

Each class does nothing beyond forwarding its constructor to FeatureExportOperation resp. PluginExportOperation. The export wizards already instantiate those operations directly, and the PDEUIMessages keys stay because the wizards still pass them along.

This drops 58 lines of dead code. Verified with mvn verify -pl :org.eclipse.pde.ui -Papi-check -Dcompare-version-with-baselines.skip=false, which reports 0 API errors.

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

Test Results

  129 files  +    4    129 suites  +4   33m 0s ⏱️ + 1m 47s
3 531 tests ±    0  3 477 ✅ +    1   54 💤 ± 0  0 ❌  - 1 
9 396 runs  +2 139  9 266 ✅ +2 116  130 💤 +24  0 ❌  - 1 

Results for commit e84de1a. ± Comparison against base commit f6968e0.

♻️ This comment has been updated with latest results.

Both classes were added in 2010 as internal compatibility shims for bug
301178. They sit in org.eclipse.pde.internal.ui.build, which is exported
with x-internal:=true, and each only forwards its constructor to
FeatureExportOperation resp. PluginExportOperation without adding
behaviour. Nothing in the repository references them anymore; the export
wizards instantiate the operations directly.

The PDEUIMessages keys FeatureExportJob_name and PluginExportJob_name
stay, since the export wizards still pass them to the operations.
@vogella
vogella force-pushed the remove-export-job-compat-stubs branch from c3f217e to e84de1a Compare August 10, 2026 05:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant