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 100734 Details for
Bug 232558
[compiler] += is not allowed between Object and String
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix (2)
patch_232558_2.txt (text/plain), 970 bytes, created by
Olivier Thomann
on 2008-05-16 16:36:31 EDT
(
hide
)
Description:
Proposed fix (2)
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2008-05-16 16:36:31 EDT
Size:
970 bytes
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: compiler/org/eclipse/jdt/internal/compiler/ast/CompoundAssignment.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/CompoundAssignment.java,v >retrieving revision 1.54 >diff -u -r1.54 CompoundAssignment.java >--- compiler/org/eclipse/jdt/internal/compiler/ast/CompoundAssignment.java 28 Mar 2006 20:29:56 -0000 1.54 >+++ compiler/org/eclipse/jdt/internal/compiler/ast/CompoundAssignment.java 16 May 2008 20:36:00 -0000 >@@ -153,7 +153,7 @@ > return null; > } > if (operator == PLUS){ >- if(lhsID == T_JavaLangObject) { >+ if(lhsID == T_JavaLangObject && (scope.compilerOptions().complianceLevel < ClassFileConstants.JDK1_7)) { > // <Object> += <String> is illegal (39248) > scope.problemReporter().invalidOperator(this, lhsType, expressionType); > return null;
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 232558
:
100733
|
100734
|
117602