Community
Participate
Working Groups
Consider the following snippet in a 1.5 project with no other dependencies than a 1.5 JRE: package p; public class Test { public void foo() { List<String> list= new ArrayList<String>(); } } When invoking Organize Imports to correct the missing import declarations, Organize Imports displays a dialog to choose between java.awt.List and java.util.List. Organize Imports could be smarter here and determine the correct type from the type reference (a cheap comparison of type parameters would do the job)
This in not 5.0 related. Same is true for < 5.0. Not important for 3.1
*** This bug has been marked as a duplicate of 87950 ***