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 23461 Details for
Bug 100584
[1.5][dom] NPE when selecting a faulty member type following a generic type reference
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Philippe's fix for the type resolution
org.eclipse.jdt.core_01.txt (text/plain), 1.31 KB, created by
Maxime Daniel
on 2005-06-17 12:13:18 EDT
(
hide
)
Description:
Philippe's fix for the type resolution
Filename:
MIME Type:
Creator:
Maxime Daniel
Created:
2005-06-17 12:13:18 EDT
Size:
1.31 KB
patch
obsolete
>Index: compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java,v >retrieving revision 1.230 >diff -u -r1.230 Scope.java >--- compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java 16 Jun 2005 08:57:07 -0000 1.230 >+++ compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java 17 Jun 2005 16:06:55 -0000 >@@ -2508,7 +2508,12 @@ > > while (currentIndex < nameLength) { > typeBinding = getMemberType(compoundName[currentIndex++], typeBinding); >- >+ // checks visibility >+ if (!typeBinding.isValidBinding()) >+ return new ProblemReferenceBinding( >+ CharOperation.subarray(compoundName, 0, currentIndex), >+ typeBinding.problemId()); >+ > if (typeBinding.isGenericType()) { > qualifiedType = this.environment().createRawType(typeBinding, qualifiedType); > } else { >@@ -2516,12 +2521,6 @@ > ? this.environment().createParameterizedType(typeBinding, null, qualifiedType) > : typeBinding; > } >- >- // checks visibility >- if (!qualifiedType.isValidBinding()) >- return new ProblemReferenceBinding( >- CharOperation.subarray(compoundName, 0, currentIndex), >- qualifiedType.problemId()); > } > return qualifiedType; > }
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 100584
: 23461 |
23544