Skip to content

Do not consider package private references in calculate uses#1830

Merged
laeubi merged 1 commit intoeclipse-pde:masterfrom
laeubi:do_not_consider_package_private
Jun 21, 2025
Merged

Do not consider package private references in calculate uses#1830
laeubi merged 1 commit intoeclipse-pde:masterfrom
laeubi:do_not_consider_package_private

Conversation

@laeubi
Copy link
Copy Markdown
Contributor

@laeubi laeubi commented Jun 21, 2025

Currently only private references are ignored, but in OSGi you can not use a package you export (as in this case either the import or the export is discarded via substitution) making package private types also not accessible except for fragments that share the same classloader anyways.

Because of this also package private members has to be ignored when calculating uses.

FYI @tjwatson

Currently only private references are ignored, but in OSGi you can not
use a package you export (as in this case either the import or the
export is discarded via substitution) making package private types also
not accessible except for fragments that share the same classloader
anyways.

Because of this also package private members has to be ignored when
calculating uses.
@github-actions
Copy link
Copy Markdown

Test Results

   765 files  ±0     765 suites  ±0   52m 1s ⏱️ - 6m 58s
 3 611 tests ±0   3 535 ✅ ±0   76 💤 ±0  0 ❌ ±0 
10 833 runs  ±0  10 602 ✅ ±0  231 💤 ±0  0 ❌ ±0 

Results for commit 7583c71. ± Comparison against base commit 05d3333.

@laeubi laeubi merged commit fa1bd44 into eclipse-pde:master Jun 21, 2025
19 checks passed
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