Skip to content

Conversation

@laeubi
Copy link
Contributor

@laeubi laeubi commented Nov 18, 2025

Currently we use bundle.getEntry but this has some limitations, e.g. fragments and embedded jars.

While the first can be avoided with findEntries, the second can not. As we previously already used bundle.getResources it seems fine to continue using that method.

Fixes #2132

@github-actions
Copy link

github-actions bot commented Nov 18, 2025

Test Results

   771 files  ±0     771 suites  ±0   55m 25s ⏱️ -25s
 3 648 tests ±0   3 594 ✅ +1   54 💤 ±0  0 ❌  - 1 
10 878 runs  ±0  10 715 ✅ +1  163 💤 ±0  0 ❌  - 1 

Results for commit f1681d6. ± Comparison against base commit 1b810d7.

♻️ This comment has been updated with latest results.

Copy link
Member

@iloveeclipse iloveeclipse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@iloveeclipse
Copy link
Member

@HannesWell : would be nice if you could review that. We should get the fix in RC1.

Copy link
Member

@HannesWell HannesWell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks reasonable to me.
But due to a recent outage at Github regarding git operations I'm not able to fetch this change to try it locally. But from what I see in the web-UI this is fine.
Thanks for the fix.

I just have two style remarks, that would be nice to have.

Currently we use bundle.getEntry but this has some limitations, e.g.
fragments and embedded jars.

While the first can be avoided with findEntries, the second can not. As
we previously already used bundle.getResources it seems fine to continue
using that method.
Copy link
Member

@HannesWell HannesWell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updates.
Still look good to me :)

@laeubi laeubi merged commit 86c6465 into eclipse-pde:master Nov 20, 2025
18 of 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.

Cannot run JUnit tests with class loading problem

3 participants