Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 328449 - Add documentation to explain how to extend the system bundle
Summary: Add documentation to explain how to extend the system bundle
Status: CLOSED FIXED
Alias: None
Product: Virgo
Classification: RT
Component: documentation (show other bugs)
Version: 2.1.0.RC1-incubation   Edit
Hardware: PC Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: 2.1.0.RELEASE   Edit
Assignee: Glyn Normington CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-22 06:00 EDT by Steve Powell CLA
Modified: 2010-10-27 06:19 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 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).