Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328449

Summary: Add documentation to explain how to extend the system bundle
Product: [RT] Virgo Reporter: Steve Powell <zteve.powell>
Component: documentationAssignee: Glyn Normington <glyn.normington>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: glyn.normington
Version: 2.1.0.RC1-incubation   
Target Milestone: 2.1.0.RELEASE   
Hardware: PC   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Steve Powell CLA 2010-10-22 06:00:29 EDT
Discovery of the need to extend the system bundle exports recently arose in the case of logback's SMTPAppender which required javax.mail.  Unfortunately, the code in this package doesn't function correctly unless the javax.mail (and subpackage) classes and the classes in javax.activation are loaded by the same classloader.  (I don't know why.)  The solution was to customise the packages exported by the system bundle -- to extend the application classloader.

This bugzilla (refer to Bug 322398) is a suggestion to document how to do this (and why).