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 205028 Details for
Bug 360644
Scope.isDefinedInSameUnit(ReferenceBinding) fails for a ParameterizedTypeBinding
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
proposed fix
HEAD--Fixed-bug-360644-ScopeisDefinedInSameUnitRefer.patch (text/plain), 1.40 KB, created by
Ayushman Jain
on 2011-10-12 08:56:41 EDT
(
hide
)
Description:
proposed fix
Filename:
MIME Type:
Creator:
Ayushman Jain
Created:
2011-10-12 08:56:41 EDT
Size:
1.40 KB
patch
obsolete
>diff --git a/org.eclipse.jdt.core/buildnotes_jdt-core.html b/org.eclipse.jdt.core/buildnotes_jdt-core.html >index 07020c2..21af5a1 100644 >--- a/org.eclipse.jdt.core/buildnotes_jdt-core.html >+++ b/org.eclipse.jdt.core/buildnotes_jdt-core.html >@@ -52,7 +52,9 @@ > <h2>What's new in this drop</h2> > > <h3>Problem Reports Fixed</h3> >-<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=358762">358762</a> >+<a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=360644">360644</a> >+Scope.isDefinedInSameUnit(ReferenceBinding) fails for a ParameterizedTypeBinding >+<br><a href="https://bugs.eclipse.org/bugs/show_bug.cgi?id=358762">358762</a> > NPE in JDT compiler > > <a name="v_C15"></a> >diff --git a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java >index 4eada31..9ec7e0a 100644 >--- a/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java >+++ b/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java >@@ -3043,7 +3043,7 @@ > // test that the enclosingType is not part of the compilation unit > SourceTypeBinding[] topLevelTypes = ((CompilationUnitScope) unitScope).topLevelTypes; > for (int i = topLevelTypes.length; --i >= 0;) >- if (topLevelTypes[i] == enclosingType) >+ if (topLevelTypes[i] == enclosingType.original()) > return true; > return false; > }
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 360644
: 205028