Skip to content

Do not implement IClasspathContainer#1907

Merged
laeubi merged 1 commit intoeclipse-pde:masterfrom
laeubi:dont_implement_cpc
Jul 29, 2025
Merged

Do not implement IClasspathContainer#1907
laeubi merged 1 commit intoeclipse-pde:masterfrom
laeubi:dont_implement_cpc

Conversation

@laeubi
Copy link
Copy Markdown
Contributor

@laeubi laeubi commented Jul 28, 2025

Currently RequiredPluginsClasspathContainer itself implements IClasspathContainer but we actually only need that instance to compute the entries.

As the RequiredPluginsClasspathContainer retains some objects in its instance and to make handling more uniform (e.g. regarding equals and hashcode of container instances) this now removes the actual implementation of the interface and simply wraps the resulting entries in a SerializableClasspathContainer that only holds a reference to the entries produced itself.

Currently RequiredPluginsClasspathContainer itself implements
IClasspathContainer but we actually only need that instance to compute
the entries.

As the RequiredPluginsClasspathContainer retains some objects in its
instance and to make handling more uniform (e.g. regarding equals and
hashcode of container instances) this now removes the actual
implementation of the interface and simply wraps the resulting entries
in a SerializableClasspathContainer that only holds a reference to the
entries produced itself.
@github-actions
Copy link
Copy Markdown

Test Results

   765 files  +  147     765 suites  +147   50m 37s ⏱️ + 3m 19s
 3 611 tests ±    0   3 557 ✅ +    1   54 💤 ± 0  0 ❌  - 1 
10 834 runs  +2 650  10 671 ✅ +2 627  163 💤 +24  0 ❌  - 1 

Results for commit cc7a47d. ± Comparison against base commit 260640d.

@laeubi laeubi merged commit de5de34 into eclipse-pde:master Jul 29, 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