Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345376 - Deprecate Graphics#getImage(String) and IResourceManager#register(String), ...
Summary: Deprecate Graphics#getImage(String) and IResourceManager#register(String), ...
Status: RESOLVED FIXED
Alias: None
Product: RAP
Classification: RT
Component: RWT (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: 1.5 M4   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-11 04:41 EDT by Rüdiger Herrmann CLA
Modified: 2011-11-21 13:00 EST (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 Rüdiger Herrmann CLA 2011-05-11 04:41:43 EDT
Methods that accept resource names without also requiring a class loader to be specified should be deprecated. They do not work well in an OSGi environment and moreover rely on the context-classloader 'anti-pattern'.
Currently, these methods would be affected:
* Graphics#getImage(String)
* IResourceManager#register(String)
Comment 1 Ralf Sternberg CLA 2011-11-21 13:00:02 EST
Also deprecated context class loader related methods.