Skip to main content

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.

Jump to: navigation, search

Difference between revisions of "Talk:Context Class Loader Enhancements"

(Buddy Class Loading & Versioning)
(Buddy Class Loading & Versioning)
 
Line 2: Line 2:
  
 
* How does Buddy class loading works with 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?
 
* 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.

Back to the top