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

Bug 332323

Summary: [Browser] Model/Code synchronization doesn't work with Java classes without package
Product: [Modeling] MoDisco Reporter: Frédéric Madiot <frederic.madiot>
Component: TechnologiesAssignee: Gabriel BARBIER <barbier.gabriel>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: barbier.gabriel, hugo.bruneliere, modisco.web-inbox, nicolas.bros
Version: 0.9.0Flags: nicolas.bros: indigo+
Target Milestone: 0.9.0 M5   
Hardware: PC   
OS: Windows XP   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=334375
Whiteboard:

Description Frédéric Madiot CLA 2010-12-10 11:35:15 EST
If a class is in the default package, the synchronization between the ClassDeclaration in the browser and the corresponding source code doesn' work.

Example:

public class HelloWorld {
	public static void main (String[] args){
		System.out.println("Hello World");
	}

}
Comment 1 Gabriel BARBIER CLA 2011-01-13 11:35:39 EST
Note: code synchronization of java element has been provided by plug-in org.eclipse.modisco.java.composition.ui. So the MoDisco browser is not directly involved.
Comment 2 Gabriel BARBIER CLA 2011-01-14 08:49:52 EST
Tests and correction available in revision 3736.
A workaround has been made in tests about bug 334375 (reload and resolve the model of JavaApplication)
Comment 3 Hugo Bruneliere CLA 2011-08-18 07:37:27 EDT
Bug solved.