Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 16782 Details for
Bug 81706
[1.5] Static import of static method produces compile error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Adds test for static import of java.lang.Math.abs method to org.eclipse.jdt.core.tests.compiler.regression.StaticImportTest
StaticImportTest.patch (text/plain), 920 bytes, created by
Glenn Burgess
on 2004-12-20 22:56:06 EST
(
hide
)
Description:
Adds test for static import of java.lang.Math.abs method to org.eclipse.jdt.core.tests.compiler.regression.StaticImportTest
Filename:
MIME Type:
Creator:
Glenn Burgess
Created:
2004-12-20 22:56:06 EST
Size:
920 bytes
patch
obsolete
>*** c:/DOCUME~1/burgessg/LOCALS~1/Temp/StaticImportTest1.java Tue Dec 21 14:21:38 2004 >--- c:/DOCUME~1/burgessg/LOCALS~1/Temp/StaticImportTest.java2992wuR Tue Dec 21 14:21:38 2004 >*************** >*** 29,42 **** > public void test001() { > this.runConformTest( > new String[] { >! "p/X.java", > "import static java.lang.Math.*;\n" + > "import static java.lang.Math.PI;\n" + > "public class X { double pi = abs(PI); }\n", >- "p2/Y.java", >- "import static java.lang.Math.abs;\n" + >- "import static java.lang.Math.PI;\n" + >- "public class X { double pi = abs(PI); }\n", > }, > ""); > } >--- 29,38 ---- > public void test001() { > this.runConformTest( > new String[] { >! "X.java", > "import static java.lang.Math.*;\n" + > "import static java.lang.Math.PI;\n" + > "public class X { double pi = abs(PI); }\n", > }, > ""); > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 81706
: 16782