Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Talk:Context Class Loader Enhancements"
(Buddy Class Loading & Versioning) |
(→Buddy Class Loading & Versioning) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
== Buddy Class Loading & Versioning == | == Buddy Class Loading & Versioning == | ||
− | How does Buddy class loading works with versioning? What happens, if a bundle exists in multiple versions and all version register with a buddy bundle? | + | * How does Buddy class loading works with versioning? |
+ | When buddy policies are used a search is done across all found buddies until the class or resource is found. Versions are not considered. | ||
+ | * What happens, if a bundle exists in multiple versions and all version register with a buddy bundle? | ||
+ | The version order currently is not defined for buddy searching. If multiple versions of a buddy exist then it is random which version you will load a given class or resource from. | ||
+ | |||
+ | There is room for improvement here. Suggestions are welcome. |
Latest revision as of 09:26, 19 June 2007
Buddy Class Loading & Versioning
- How does Buddy class loading works with versioning?
When buddy policies are used a search is done across all found buddies until the class or resource is found. Versions are not considered.
- What happens, if a bundle exists in multiple versions and all version register with a buddy bundle?
The version order currently is not defined for buddy searching. If multiple versions of a buddy exist then it is random which version you will load a given class or resource from.
There is room for improvement here. Suggestions are welcome.