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 23134 Details for
Bug 99927
NPE in ParameterizedTypeBinding.initialize
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Fix in BindingKeyResolver
patch99927_org.eclipse.jdt.core.txt (text/plain), 2.17 KB, created by
Jerome Lanneluc
on 2005-06-15 04:16:06 EDT
(
hide
)
Description:
Fix in BindingKeyResolver
Filename:
MIME Type:
Creator:
Jerome Lanneluc
Created:
2005-06-15 04:16:06 EDT
Size:
2.17 KB
patch
obsolete
>Index: model/org/eclipse/jdt/internal/core/util/BindingKeyResolver.java >=================================================================== >RCS file: /home/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/BindingKeyResolver.java,v >retrieving revision 1.29 >diff -u -r1.29 BindingKeyResolver.java >--- model/org/eclipse/jdt/internal/core/util/BindingKeyResolver.java 7 Jun 2005 16:44:08 -0000 1.29 >+++ model/org/eclipse/jdt/internal/core/util/BindingKeyResolver.java 15 Jun 2005 08:14:41 -0000 >@@ -66,14 +66,14 @@ > > int wildcardRank; > >- BindingKeyResolver outerMostResolver; >+ CompilationUnitDeclaration outerMostParsedUnit; > >- private BindingKeyResolver(BindingKeyParser parser, Compiler compiler, LookupEnvironment environment, int wildcardRank, BindingKeyResolver outerMostResolver) { >+ private BindingKeyResolver(BindingKeyParser parser, Compiler compiler, LookupEnvironment environment, int wildcardRank, CompilationUnitDeclaration outerMostParsedUnit) { > super(parser); > this.compiler = compiler; > this.environment = environment; > this.wildcardRank = wildcardRank; >- this.outerMostResolver = outerMostResolver; >+ this.outerMostParsedUnit = outerMostParsedUnit; > } > > public BindingKeyResolver(String key) { >@@ -109,7 +109,7 @@ > } > > public void consumeCapture(final int position) { >- CompilationUnitDeclaration outerParsedUnit = this.outerMostResolver == null ? this.parsedUnit : this.outerMostResolver.parsedUnit; >+ CompilationUnitDeclaration outerParsedUnit = this.outerMostParsedUnit == null ? this.parsedUnit : this.outerMostParsedUnit; > if (outerParsedUnit == null) return; > final Binding wildcardBinding = ((BindingKeyResolver) this.types.get(0)).compilerBinding; > class CaptureFinder extends ASTVisitor { >@@ -476,7 +476,7 @@ > } > > public BindingKeyParser newParser() { >- return new BindingKeyResolver(this, this.compiler, this.environment, this.rank, this.outerMostResolver == null ? this : this.outerMostResolver); >+ return new BindingKeyResolver(this, this.compiler, this.environment, this.rank, this.outerMostParsedUnit == null ? this.parsedUnit : this.outerMostParsedUnit); > } > > public String toString() {
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 99927
: 23134