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 204163 Details for
Bug 359177
Test MethodVerifyTest#testBug317719h fails when run with 1.6 JVM
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed test patch
patch.txt (text/plain), 3.23 KB, created by
Satyam Kandula
on 2011-09-28 06:40:42 EDT
(
hide
)
Description:
Proposed test patch
Filename:
MIME Type:
Creator:
Satyam Kandula
Created:
2011-09-28 06:40:42 EDT
Size:
3.23 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core.tests.compiler >Index: src/org/eclipse/jdt/core/tests/compiler/regression/MethodVerifyTest.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/MethodVerifyTest.java,v >retrieving revision 1.228 >diff -u -r1.228 MethodVerifyTest.java >--- src/org/eclipse/jdt/core/tests/compiler/regression/MethodVerifyTest.java 23 Aug 2011 06:03:50 -0000 1.228 >+++ src/org/eclipse/jdt/core/tests/compiler/regression/MethodVerifyTest.java 28 Sep 2011 10:38:43 -0000 >@@ -13439,7 +13439,7 @@ > String output = this.complianceLevel == ClassFileConstants.JDK1_6 ? > "----------\n" + > "1. WARNING in Test.java (at line 3)\n" + >- " public class Test<Key, Value> extends LinkedHashMap<Key, Collection<Value>> {\n" + >+ " public class Test<Key, Value> extends HashMap<Key, Collection<Value>> {\n" + > " ^^^^\n" + > "The serializable class Test does not declare a static final serialVersionUID field of type long\n" + > "----------\n" + >@@ -13451,7 +13451,7 @@ > "3. WARNING in Test.java (at line 5)\n" + > " public Collection<Value> get(Key k) { return null; }\n" + > " ^^^^^^^^^^\n" + >- "Name clash: The method get(Key) of type Test<Key,Value> has the same erasure as get(Object) of type LinkedHashMap<K,V> but does not override it\n" + >+ "Name clash: The method get(Key) of type Test<Key,Value> has the same erasure as get(Object) of type HashMap<K,V> but does not override it\n" + > "----------\n" + > "4. ERROR in Test.java (at line 6)\n" + > " Zork z;\n" + >@@ -13460,7 +13460,7 @@ > "----------\n": > "----------\n" + > "1. WARNING in Test.java (at line 3)\n" + >- " public class Test<Key, Value> extends LinkedHashMap<Key, Collection<Value>> {\n" + >+ " public class Test<Key, Value> extends HashMap<Key, Collection<Value>> {\n" + > " ^^^^\n" + > "The serializable class Test does not declare a static final serialVersionUID field of type long\n" + > "----------\n" + >@@ -13472,7 +13472,7 @@ > "3. ERROR in Test.java (at line 5)\n" + > " public Collection<Value> get(Key k) { return null; }\n" + > " ^^^^^^^^^^\n" + >- "Name clash: The method get(Key) of type Test<Key,Value> has the same erasure as get(Object) of type LinkedHashMap<K,V> but does not override it\n" + >+ "Name clash: The method get(Key) of type Test<Key,Value> has the same erasure as get(Object) of type HashMap<K,V> but does not override it\n" + > "----------\n" + > "4. ERROR in Test.java (at line 6)\n" + > " Zork z;\n" + >@@ -13483,8 +13483,8 @@ > new String[] { > "Test.java", > "import java.util.Collection;\n" + >- "import java.util.LinkedHashMap;\n" + >- "public class Test<Key, Value> extends LinkedHashMap<Key, Collection<Value>> {\n" + >+ "import java.util.HashMap;\n" + >+ "public class Test<Key, Value> extends HashMap<Key, Collection<Value>> {\n" + > " public Collection<Value> put(Key k, Value v) { return null; }\n" + > " public Collection<Value> get(Key k) { return null; }\n" + > " Zork z;\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
Flags:
satyam.kandula
:
review?
Actions:
View
|
Diff
Attachments on
bug 359177
: 204163