Bug 82754 - [1.5] too many methods allowed by static import
Summary: [1.5] too many methods allowed by static import
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M5   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-13 10:48 EST by David Audel CLA
Modified: 2005-02-16 06:10 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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