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 108255 Details for
Bug 241841
[compiler] Compilation error 'incompatible types' should use full qualified class names
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_241841.txt (text/plain), 1.40 KB, created by
Olivier Thomann
on 2008-07-23 14:57:29 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2008-07-23 14:57:29 EDT
Size:
1.40 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java,v >retrieving revision 1.372 >diff -u -r1.372 ProblemReporter.java >--- compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java 27 Jun 2008 16:04:14 -0000 1.372 >+++ compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java 23 Jul 2008 18:48:42 -0000 >@@ -6373,10 +6373,16 @@ > expectingLocation.sourceEnd); > return; > } >+ char[] actualShortReadableName = actualType.shortReadableName(); >+ char[] expectedShortReadableName = expectedType.shortReadableName(); >+ if (CharOperation.equals(actualShortReadableName, expectedShortReadableName)) { >+ actualShortReadableName = actualType.readableName(); >+ expectedShortReadableName = expectedType.readableName(); >+ } > this.handle( > IProblem.TypeMismatch, > new String[] {new String(actualType.readableName()), new String(expectedType.readableName())}, >- new String[] {new String(actualType.shortReadableName()), new String(expectedType.shortReadableName())}, >+ new String[] {new String(actualShortReadableName), new String(expectedShortReadableName)}, > location.sourceStart, > location.sourceEnd); > }
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 241841
: 108255