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 183722 Details for
Bug 330869
Bogus error reported for Incompatible operand types Class<capture#2-of ? extends T> and Class<Bug.Bar>
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Patch for rollback of fix for bug 322531
patch.txt (text/plain), 3.28 KB, created by
Srikanth Sankaran
on 2010-11-23 22:13:48 EST
(
hide
)
Description:
Patch for rollback of fix for bug 322531
Filename:
MIME Type:
Creator:
Srikanth Sankaran
Created:
2010-11-23 22:13:48 EST
Size:
3.28 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: compiler/org/eclipse/jdt/internal/compiler/lookup/TypeBinding.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/TypeBinding.java,v >retrieving revision 1.112 >diff -u -r1.112 TypeBinding.java >--- compiler/org/eclipse/jdt/internal/compiler/lookup/TypeBinding.java 6 Nov 2010 12:58:41 -0000 1.112 >+++ compiler/org/eclipse/jdt/internal/compiler/lookup/TypeBinding.java 24 Nov 2010 03:11:33 -0000 >@@ -568,7 +568,7 @@ > if (isInterface()) > return false; > if (isArrayType() >- || isClassLiteral // https://bugs.eclipse.org/bugs/show_bug.cgi?id=322531 >+ // || isClassLiteral // https://bugs.eclipse.org/bugs/show_bug.cgi?id=322531 > || ((this instanceof ReferenceBinding) && ((ReferenceBinding) this).isFinal()) > || (isTypeVariable() && ((TypeVariableBinding)this).superclass().isFinal())) { > return !isCompatibleWith(otherType); >@@ -577,7 +577,7 @@ > } else { > if (isInterface()) { > if (otherType.isArrayType() >- || isClassLiteral // https://bugs.eclipse.org/bugs/show_bug.cgi?id=322531 >+ // || isClassLiteral // https://bugs.eclipse.org/bugs/show_bug.cgi?id=322531 > || ((otherType instanceof ReferenceBinding) && ((ReferenceBinding) otherType).isFinal()) > || (otherType.isTypeVariable() && ((TypeVariableBinding)otherType).superclass().isFinal())) { > return !isCompatibleWith(otherType); >#P org.eclipse.jdt.core.tests.compiler >Index: src/org/eclipse/jdt/core/tests/compiler/regression/GenericsRegressionTest.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core.tests.compiler/src/org/eclipse/jdt/core/tests/compiler/regression/GenericsRegressionTest.java,v >retrieving revision 1.3 >diff -u -r1.3 GenericsRegressionTest.java >--- src/org/eclipse/jdt/core/tests/compiler/regression/GenericsRegressionTest.java 23 Nov 2010 04:23:45 -0000 1.3 >+++ src/org/eclipse/jdt/core/tests/compiler/regression/GenericsRegressionTest.java 24 Nov 2010 03:11:35 -0000 >@@ -45,7 +45,7 @@ > return compilerOptions; > } > //https://bugs.eclipse.org/bugs/show_bug.cgi?id=322531 >- public void test322531a() { >+ public void _test322531a() { > this.runNegativeTest( > new String[] { > "X.java", >@@ -215,7 +215,7 @@ > "----------\n"); > } > // https://bugs.eclipse.org/bugs/show_bug.cgi?id=322531 >- public void test322531g() { >+ public void _test322531g() { > this.runNegativeTest( > new String[] { > "X.java", >@@ -240,7 +240,7 @@ > "----------\n"); > } > // https://bugs.eclipse.org/bugs/show_bug.cgi?id=322531 >- public void test322531h() { >+ public void _test322531h() { > this.runNegativeTest( > new String[] { > "X.java", >@@ -333,7 +333,7 @@ > "----------\n"); > } > // https://bugs.eclipse.org/bugs/show_bug.cgi?id=322531 >- public void test322531j() { >+ public void _test322531j() { > this.runNegativeTest( > new String[] { > "X.java", >@@ -515,7 +515,7 @@ > "----------\n"); > } > // https://bugs.eclipse.org/bugs/show_bug.cgi?id=330869 >-public void _test330869() { >+public void test330869() { > this.runConformTest( > new String[] { > "X.java",
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 330869
: 183722