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

Bug 346877

Summary: Replace Class.forName with ClassLoader.loadClass
Product: [WebTools] WTP Source Editing Reporter: David Carver <d_a_carver>
Component: wst.xpathAssignee: Project Inbox <wst.xsl-inbox>
Status: NEW --- QA Contact: Jesper Moller <jesper>
Severity: normal    
Priority: P3    
Version: 3.3   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description David Carver CLA 2011-05-23 11:19:32 EDT
Class.forName can hold classes in memory, and in general is not very friendly with OSGI.   We should analyze the code, and make any necessary changes to replace Class.forName usage with ClassLoader.loadClass instead.

http://www.osgi.org/blog/2011/05/what-you-should-know-about-class.html
http://www.javaworld.com/javaworld/javaqa/2003-03/01-qa-0314-forname.html