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 179247 Details for
Bug 325633
1.4 project confused when referencing a return type of generic array from 1.5 project
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Test Patch
patch.txt (text/plain), 2.13 KB, created by
Satyam Kandula
on 2010-09-20 10:15:41 EDT
(
hide
)
Description:
Test Patch
Filename:
MIME Type:
Creator:
Satyam Kandula
Created:
2010-09-20 10:15:41 EDT
Size:
2.13 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: compiler/org/eclipse/jdt/internal/compiler/ast/ParameterizedSingleTypeReference.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ParameterizedSingleTypeReference.java,v >retrieving revision 1.51 >diff -u -r1.51 ParameterizedSingleTypeReference.java >--- compiler/org/eclipse/jdt/internal/compiler/ast/ParameterizedSingleTypeReference.java 28 Apr 2009 16:53:03 -0000 1.51 >+++ compiler/org/eclipse/jdt/internal/compiler/ast/ParameterizedSingleTypeReference.java 20 Sep 2010 14:02:37 -0000 >@@ -195,7 +195,7 @@ > > TypeVariableBinding[] typeVariables = currentOriginal.typeVariables(); > if (typeVariables == Binding.NO_TYPE_VARIABLES) { // non generic invoked with arguments >- boolean isCompliant15 = scope.compilerOptions().sourceLevel >= ClassFileConstants.JDK1_5; >+ boolean isCompliant15 = scope.compilerOptions().originalSourceLevel >= ClassFileConstants.JDK1_5; > if ((currentOriginal.tagBits & TagBits.HasMissingType) == 0) { > if (isCompliant15) { // below 1.5, already reported as syntax error > this.resolvedType = currentType; >Index: model/org/eclipse/jdt/internal/compiler/parser/TypeConverter.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/parser/TypeConverter.java,v >retrieving revision 1.5 >diff -u -r1.5 TypeConverter.java >--- model/org/eclipse/jdt/internal/compiler/parser/TypeConverter.java 8 Sep 2010 12:55:49 -0000 1.5 >+++ model/org/eclipse/jdt/internal/compiler/parser/TypeConverter.java 20 Sep 2010 14:02:37 -0000 >@@ -40,7 +40,7 @@ > > protected TypeConverter(ProblemReporter problemReporter, char memberTypeSeparator) { > this.problemReporter = problemReporter; >- this.has1_5Compliance = problemReporter.options.originalComplianceLevel >= ClassFileConstants.JDK1_5; >+ this.has1_5Compliance = problemReporter.options.complianceLevel >= ClassFileConstants.JDK1_5; > this.memberTypeSeparator = memberTypeSeparator; > } >
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 325633
:
179136
|
179221
| 179247