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

Bug 369205

Summary: Xtend2 doesn't check for imports that collide with the name of the class in the file
Product: [Tools] Xtend Reporter: Ed Merks <Ed.Merks>
Component: CoreAssignee: Holger Schill <Holger.Schill>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: Holger.Schill, sebastian.zarnekow
Version: 2.3.0   
Target Milestone: M7   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Ed Merks CLA 2012-01-20 07:01:00 EST
This doesn't complain that java.util.List isn't used and doesn't complain that it collides with the locally defined class name. 

package com.example

import java.util.List

class List {
	List x
	
}
Comment 1 Holger Schill CLA 2012-04-18 05:23:03 EDT
In java
Comment 2 Holger Schill CLA 2012-04-18 06:08:51 EDT
pushed fix and tests to master.
Comment 3 Eclipse Webmaster CLA 2017-10-31 11:24:32 EDT
Requested via bug 522520.

-M.