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 20996 Details for
Bug 89440
[1.5][problems] Reference to member of parameterized type incorrectly marked as error
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Apply on HEAD of org.eclipse.jdt.core.tests.compiler
patch_tests_89440.txt (text/plain), 1.80 KB, created by
Olivier Thomann
on 2005-05-11 14:50:00 EDT
(
hide
)
Description:
Apply on HEAD of org.eclipse.jdt.core.tests.compiler
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2005-05-11 14:50:00 EDT
Size:
1.80 KB
patch
obsolete
>Index: src/org/eclipse/jdt/core/tests/compiler/regression/GenericTypeTest.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/GenericTypeTest.java,v >retrieving revision 1.255 >diff -u -r1.255 GenericTypeTest.java >--- src/org/eclipse/jdt/core/tests/compiler/regression/GenericTypeTest.java 11 May 2005 17:18:46 -0000 1.255 >+++ src/org/eclipse/jdt/core/tests/compiler/regression/GenericTypeTest.java 11 May 2005 18:46:49 -0000 >@@ -18480,5 +18480,56 @@ > " ^^^^\n" + > "Zork cannot be resolved to a type\n" + > "----------\n"); >- } >+ } >+ >+ //https://bugs.eclipse.org/bugs/show_bug.cgi?id=89440 >+ public void test650() { >+ this.runConformTest( >+ new String[] { >+ "p/A.java", >+ "package p;\n" + >+ "\n" + >+ "public interface A<V> {\n" + >+ " public static enum Stuff {\n" + >+ " FIRST, SECOND, THIRD\n" + >+ " };\n" + >+ "}", >+ }, >+ ""); >+ this.runConformTest( >+ new String[] { >+ "q/SampleClass2.java", >+ "package q;\n" + >+ "\n" + >+ "import p.A.Stuff;\n" + >+ "\n" + >+ "public class SampleClass2 {\n" + >+ " public void doSomething(Stuff thing) {\n" + >+ " \n" + >+ " }\n" + >+ "}" >+ }, >+ "", >+ null, >+ false, >+ null); >+ this.runConformTest( >+ new String[] { >+ "q/SampleClass3.java", >+ "package q;\n" + >+ "\n" + >+ "import p.A;\n" + >+ "\n" + >+ "public class SampleClass3 {\n" + >+ " public void doSomething() {\n" + >+ " SampleClass2 sample = new SampleClass2();\n" + >+ " sample.doSomething(A.Stuff.FIRST);\n" + >+ " }\n" + >+ "}", >+ }, >+ "", >+ null, >+ false, >+ null); >+ } > }
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 89440
:
20979
| 20996