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 175634 Details for
Bug 317046
Exception during debugging when hover mouse over a field
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
avoiding the cast
Bug_317046.patch (text/plain), 2.04 KB, created by
Stephan Herrmann
on 2010-07-30 19:29:28 EDT
(
hide
)
Description:
avoiding the cast
Filename:
MIME Type:
Creator:
Stephan Herrmann
Created:
2010-07-30 19:29:28 EDT
Size:
2.04 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.109 >diff -u -r1.109 TypeBinding.java >--- compiler/org/eclipse/jdt/internal/compiler/lookup/TypeBinding.java 24 Jun 2010 07:16:15 -0000 1.109 >+++ compiler/org/eclipse/jdt/internal/compiler/lookup/TypeBinding.java 30 Jul 2010 23:24:56 -0000 >@@ -630,23 +630,22 @@ > return false; > > case Binding.GENERIC_TYPE : >- SourceTypeBinding otherGenericType = (SourceTypeBinding) otherType; >- if (paramType.genericType() != otherGenericType) >+ if (paramType.genericType() != otherType) > return true; > if (!paramType.isStatic()) { // static member types do not compare their enclosing > ReferenceBinding enclosing = enclosingType(); > if (enclosing != null) { >- ReferenceBinding otherEnclosing = otherGenericType.enclosingType(); >+ ReferenceBinding otherEnclosing = (otherType).enclosingType(); > if (otherEnclosing == null) return true; > if ((otherEnclosing.tagBits & TagBits.HasDirectWildcard) == 0) { > if (enclosing != otherEnclosing) return true; > } else { >- if (!enclosing.isEquivalentTo(otherGenericType.enclosingType())) return true; >+ if (!enclosing.isEquivalentTo(otherType.enclosingType())) return true; > } > } > } > length = paramType.arguments == null ? 0 : paramType.arguments.length; >- otherArguments = otherGenericType.typeVariables(); >+ otherArguments = otherType.typeVariables(); > otherLength = otherArguments == null ? 0 : otherArguments.length; > if (otherLength != length) > return true;
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:
srikanth_sankaran
:
iplog+
srikanth_sankaran
:
review+
Actions:
View
|
Diff
Attachments on
bug 317046
: 175634