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 57609 Details for
Bug 171749
[compiler] Fup of bug 171184, wrong modifiers for inner class info
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_171749.txt (text/plain), 1.29 KB, created by
Olivier Thomann
on 2007-01-26 12:59:57 EST
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2007-01-26 12:59:57 EST
Size:
1.29 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: compiler/org/eclipse/jdt/internal/compiler/ClassFile.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ClassFile.java,v >retrieving revision 1.145 >diff -u -r1.145 ClassFile.java >--- compiler/org/eclipse/jdt/internal/compiler/ClassFile.java 25 Jan 2007 18:10:51 -0000 1.145 >+++ compiler/org/eclipse/jdt/internal/compiler/ClassFile.java 26 Jan 2007 17:57:29 -0000 >@@ -641,7 +641,9 @@ > } > // access flag > if (innerClass.isAnonymousType()) { >- accessFlags &= ~ClassFileConstants.AccFinal; >+ if (this.targetJDK < ClassFileConstants.JDK1_6) { >+ accessFlags &= ~ClassFileConstants.AccFinal; >+ } > } else if (innerClass.isMemberType() && innerClass.isInterface()) { > accessFlags |= ClassFileConstants.AccStatic; // implicitely static > } >@@ -5807,7 +5809,7 @@ > | ClassFileConstants.AccStatic > | ClassFileConstants.AccSynchronized > | ClassFileConstants.AccNative); >- >+ > // set the AccSuper flag (has to be done after clearing AccSynchronized - since same value) > if (!aType.isInterface()) { // class or enum > accessFlags |= ClassFileConstants.AccSuper;
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 171749
: 57609