Bug 83275 - Specifying member name explicitly in static import line causes compile error.
Summary: Specifying member name explicitly in static import line causes compile error.
Status: RESOLVED DUPLICATE of bug 81706
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-01-20 01:37 EST by OZAWA Sakuro CLA
Modified: 2005-01-20 10:12 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 OZAWA Sakuro CLA 2005-01-20 01:37:22 EST
javac successfully compiles following line:
import static java.lang.Math.sin;

but 3.1M4(Build Id:200412162000) JDT compiler fails, saying:
"The import java.lang.Math.sin cannot be resolved"
while Compier compliance level is set to 5.0.
Comment 1 Olivier Thomann CLA 2005-01-20 10:12:14 EST

*** This bug has been marked as a duplicate of 81706 ***