Bug 579880 - BundleLoader buddy loading not consistent
Summary: BundleLoader buddy loading not consistent
Status: CLOSED WONTFIX
Alias: None
Product: Equinox
Classification: Eclipse Project
Component: Framework (show other bugs)
Version: 4.8.0 Photon   Edit
Hardware: PC Windows 10
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: equinox.framework-inbox CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-10 03:25 EDT by Jan Pesta CLA
Modified: 2024-05-01 03:38 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Pesta CLA 2022-05-10 03:25:36 EDT
Hi,

With new feature to resolve classes by annotations Budy policy loading is not consistent.

BundleLoader.findResource(pkgName) is able to resolve package in registered buddy.

But when I want to list resources method listResources(), policy is not checked and I am unable to get classes from registered buddy.

Actually this mechanism is used by Log4J where it is failing to load custom classes.
Comment 1 Thomas Watson CLA 2022-05-10 10:59:50 EDT
Can you open this issue at https://github.com/eclipse-equinox/equinox.framework
Comment 3 Eclipse Genie CLA 2024-05-01 03:38:22 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.