Bug 82754

Summary: [1.5] too many methods allowed by static import
Product: [Eclipse Project] JDT Reporter: David Audel <david_audel>
Component: CoreAssignee: Kent Johnson <kent_johnson>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description David Audel CLA 2005-01-13 10:48:07 EST
build I20050112 + jdtcore head

1) create X.java
import static java.lang.Math.round;
public class X {
  void foo() {
    cos(0);
  }
}
2) compile

There is no compile error, but cos() is not imported.
Comment 1 Kent Johnson CLA 2005-01-13 16:14:07 EST
Added StaticImport test020
Comment 2 David Audel CLA 2005-02-16 06:10:06 EST
Verified in I20050215-2300