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

Bug 322313

Summary: stack overflow when calling MetaclassManager.getMetaclass() with String argument
Product: [Technology] XWT Reporter: Holger Hoch <holger.hoch>
Component: CoreAssignee: Project Inbox <e4.xwt-inbox>
Status: NEW --- QA Contact:
Severity: minor    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Holger Hoch CLA 2010-08-11 02:45:30 EDT
Build Identifier: 

Method #getMetaclass(Object object) of class org.eclipse.e4.xwt.internal.core.MetaclassManager enters infinite recursion when called with a String argument.
Reason is the statement 
 ... if (object instanceof String) {
	return getMetaclass((String) object);
     } ....
that calls the method itself with the same parameter
(I don't know if this method would ever be called with a String argument, just stumbled across when looking how namespaces are handled)

Reproducible: Always

Steps to Reproduce:
n/a