Community
Participate
Working Groups
eg. static import java.lang.Math.max; Compiler reports: The import java.lang.Math.max cannot be resolved This is however a legal use of static import.
Created attachment 16782 [details] Adds test for static import of java.lang.Math.abs method to org.eclipse.jdt.core.tests.compiler.regression.StaticImportTest
As a work around, please use: static import java.lang.Math.*;
*** Bug 81593 has been marked as a duplicate of this bug. ***
*** Bug 81470 has been marked as a duplicate of this bug. ***
enabled rest of StaticImport test012
*** Bug 82728 has been marked as a duplicate of this bug. ***
*** Bug 83275 has been marked as a duplicate of this bug. ***
Verified in I20050215-2300